2014-09-29 17:20:23 -04:00
|
|
|
language: node_js
|
2014-12-22 20:50:10 -05:00
|
|
|
sudo: false
|
2014-09-29 17:20:23 -04:00
|
|
|
node_js:
|
2017-02-02 19:22:39 -05:00
|
|
|
- '6.9.5'
|
|
|
|
|
2016-04-28 20:50:03 -04:00
|
|
|
addons:
|
|
|
|
# firefox: "38.0"
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
# needed to install g++ that is used by npms's native modules
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2017-03-01 15:09:24 -05:00
|
|
|
# https://docs.travis-ci.com/user/jwt
|
|
|
|
jwt:
|
|
|
|
# NGBUILDS_IO_KEY=<secret in valentine>
|
|
|
|
secure: Z+BZX6qzO4QIk1mOt8hNobltUmrO3Fh8CxKY6eiyBZRqlqVjkhwnvcXylt70luAw7uNU1G8eSUUN/n/o0SnuZ/Okayejj/5gsjzNPwUS5Wzdod+UfsLxZNG9vNVxYyH1pRdANQtnNHV0uj+aR0oSUp3ZsFIlbo9gizcM4Qj01Yc=
|
2016-04-28 20:50:03 -04:00
|
|
|
|
2015-07-23 16:51:57 -04:00
|
|
|
branches:
|
|
|
|
except:
|
2016-01-15 16:36:06 -05:00
|
|
|
- g3_v2_0
|
2015-07-23 16:51:57 -04:00
|
|
|
|
2015-04-16 00:37:13 -04:00
|
|
|
cache:
|
2017-01-25 12:39:01 -05:00
|
|
|
yarn: true
|
2015-04-16 00:37:13 -04:00
|
|
|
directories:
|
2016-04-28 20:50:03 -04:00
|
|
|
- ./node_modules
|
|
|
|
- ./.chrome/chromium
|
2017-02-09 14:58:36 -05:00
|
|
|
- ./aio/node_modules
|
2016-02-08 16:23:12 -05:00
|
|
|
|
2014-09-29 17:20:23 -04:00
|
|
|
env:
|
2014-10-28 06:51:00 -04:00
|
|
|
global:
|
2016-05-12 18:08:28 -04:00
|
|
|
# GITHUB_TOKEN_ANGULAR
|
|
|
|
# This is needed for the e2e Travis matrix task to publish packages to github for continuous packages delivery.
|
|
|
|
- secure: "fq/U7VDMWO8O8SnAQkdbkoSe2X92PVqg4d044HmRYVmcf6YbO48+xeGJ8yOk0pCBwl3ISO4Q2ot0x546kxfiYBuHkZetlngZxZCtQiFT9kyId8ZKcYdXaIW9OVdw3Gh3tQyUwDucfkVhqcs52D6NZjyE2aWZ4/d1V4kWRO/LMgo="
|
2017-01-25 12:39:01 -05:00
|
|
|
# FIREBASE_TOKEN
|
|
|
|
# This is needed for publishing builds to the "aio-staging" firebase site.
|
|
|
|
# TODO(i): the token was generated using the iminar@google account, we should switch to a shared/role-base account.
|
|
|
|
- secure: "MPx3UM77o5IlhT75PKHL0FXoB5tSXDc3vnCXCd1sRy4XUTZ9vjcV6nNuyqEf+SOw659bGbC1FI4mACGx1Q+z7MQDR85b1mcA9uSgHDkh+IR82CnCVdaX9d1RXafdJIArahxfmorbiiPPLyPIKggo7ituRm+2c+iraoCkE/pXxYg="
|
2015-02-12 18:00:43 -05:00
|
|
|
matrix:
|
2015-10-30 10:34:48 -04:00
|
|
|
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
|
2017-01-27 20:39:48 -05:00
|
|
|
- CI_MODE=e2e
|
2017-01-19 17:25:44 -05:00
|
|
|
- CI_MODE=js
|
|
|
|
- CI_MODE=saucelabs_required
|
|
|
|
- CI_MODE=browserstack_required
|
|
|
|
- CI_MODE=saucelabs_optional
|
|
|
|
- CI_MODE=browserstack_optional
|
2017-01-25 17:27:05 -05:00
|
|
|
- CI_MODE=docs_test
|
2017-01-25 12:39:01 -05:00
|
|
|
- CI_MODE=aio
|
2016-05-09 19:47:26 -04:00
|
|
|
|
|
|
|
matrix:
|
2016-08-12 02:03:28 -04:00
|
|
|
fast_finish: true
|
2016-05-09 19:47:26 -04:00
|
|
|
allow_failures:
|
|
|
|
- env: "CI_MODE=saucelabs_optional"
|
|
|
|
- env: "CI_MODE=browserstack_optional"
|
2015-06-02 17:09:32 -04:00
|
|
|
|
2015-04-16 00:32:39 -04:00
|
|
|
install:
|
2016-04-28 20:50:03 -04:00
|
|
|
- ./scripts/ci-lite/install.sh
|
2015-04-16 00:32:39 -04:00
|
|
|
|
2014-09-29 17:20:23 -04:00
|
|
|
script:
|
2016-04-28 20:50:03 -04:00
|
|
|
- ./scripts/ci-lite/build.sh && ./scripts/ci-lite/test.sh
|
2015-04-16 00:32:39 -04:00
|
|
|
|
2017-01-25 12:39:01 -05:00
|
|
|
after_success:
|
|
|
|
- ./scripts/ci-lite/deploy_aio_staging.sh
|
|
|
|
|
2014-09-29 17:20:23 -04:00
|
|
|
after_script:
|
2016-04-28 20:50:03 -04:00
|
|
|
- ./scripts/ci-lite/cleanup.sh
|