2017-06-21 00:04:24 +00:00
|
|
|
language: node_js
|
|
|
|
dist: trusty
|
2017-06-21 03:48:35 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
# This is required to run new chrome on old trusty
|
|
|
|
- libnss3
|
2018-04-19 20:27:37 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2017-06-21 00:04:24 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2017-11-03 07:02:41 +00:00
|
|
|
# allow headful tests
|
|
|
|
before_install:
|
2018-11-13 07:26:16 +00:00
|
|
|
- "sysctl kernel.unprivileged_userns_clone=1"
|
2017-11-03 07:02:41 +00:00
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2017-06-21 00:04:24 +00:00
|
|
|
script:
|
2018-07-26 23:27:11 +00:00
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run lint; fi'
|
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run coverage; fi'
|
2019-08-10 02:02:47 +00:00
|
|
|
- 'if [ "$FIREFOX" = "true" ]; then cd experimental/puppeteer-firefox && npm i && cd ../..; fi'
|
2019-08-10 01:37:43 +00:00
|
|
|
- 'if [ "$FIREFOX" = "true" ]; then npm run funit; fi'
|
2018-07-26 23:27:11 +00:00
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run test-doclint; fi'
|
2019-01-28 23:12:45 +00:00
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run test-types; fi'
|
2018-09-13 19:08:51 +00:00
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run bundle; fi'
|
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run unit-bundle; fi'
|
2017-08-24 19:20:05 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2019-10-16 15:00:20 +00:00
|
|
|
- node_js: "8.16.0"
|
2019-08-09 22:46:00 +00:00
|
|
|
env:
|
|
|
|
- NODE8=true
|
2019-08-09 23:15:00 +00:00
|
|
|
- FLAKINESS_DASHBOARD_NAME="Travis Chromium (node8 + linux)"
|
|
|
|
- FLAKINESS_DASHBOARD_BUILD_URL="${TRAVIS_JOB_WEB_URL}"
|
2019-10-16 15:00:20 +00:00
|
|
|
- node_js: "8.16.0"
|
2019-08-10 01:37:43 +00:00
|
|
|
env:
|
|
|
|
- FIREFOX=true
|
|
|
|
- FLAKINESS_DASHBOARD_NAME="Travis Firefox (node8 + linux)"
|
|
|
|
- FLAKINESS_DASHBOARD_BUILD_URL="${TRAVIS_JOB_WEB_URL}"
|
2018-01-23 01:11:10 +00:00
|
|
|
before_deploy: "npm run apply-next-version"
|
2017-12-28 01:19:48 +00:00
|
|
|
deploy:
|
|
|
|
provider: npm
|
|
|
|
email: aslushnikov@gmail.com
|
|
|
|
api_key:
|
2019-04-08 23:06:14 +00:00
|
|
|
secure: Ng8o2KwJf90XCBNgUKK3jRZnwtdBSJatjYNmZBERJEqBWFTadFAp1NdhxZaqjnuG8aFYaH5bRJdL+EQBYUksVCbrv/gcaXeEFkwsfPfVX1QXGqu7NnZmtme2hbxppLQ7dEJ8hz2Z9K4vehqVOxmLabxvoupOumxEQMLCphVHh2FOmsm/S5JrRZqZ4V9k76eIc0/PiyfXNMdx5WTZjHbIRDIHRy9nqOXjFp2Rx3PMa3uU2fS8mTshYEYs151TA6e6VdHjqmBwEQC/M5tXbDlLCMNUr4JBtLTcL4OipNYjzkwD1N2xYlbSRqtvqqF4ifdvFhoI65a31GinlMC7Z/SH1Zy+d+/z3Mo7D63eYcsJVnsg9OYxTFy2piUntr0JqTBHtQoe/CvGxJmkcVt+H6YSkcBibSG9s9tG3qpAD5wBCFqqOYnfClX+YZziEd+Hngd9inxAf87qdvgVIZ5tPD2dygtE+te2/qoEHtvccv/HuS8MxNj5iKwlP7JaBPM6uAkazYqZP2R99I2ph9gNOEVuQLtk+3+OIdb8HWrEKUrJBgKhdKY1dvcKYElI+D8NRlyzrr6BnZfudACuAt2EtfKpfJ3mL+iRMFdBJ3ntLt93xBrB+j4z3pD0iWZcg1g3I742PFzQEHzyd/DDTP1yRTUoJeQWwoQRJyNO1m6Qk4wx77c=
|
2017-12-28 01:19:48 +00:00
|
|
|
on:
|
|
|
|
branch: master
|
2018-07-26 23:27:11 +00:00
|
|
|
condition: "$NODE8 = true"
|
2017-12-28 01:19:48 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
tag: next
|