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
|
2017-06-21 00:04:24 +00:00
|
|
|
cache:
|
|
|
|
yarn: true
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2017-11-03 07:02:41 +00:00
|
|
|
# allow headful tests
|
|
|
|
before_install:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2017-06-21 00:04:24 +00:00
|
|
|
install:
|
|
|
|
- yarn install
|
|
|
|
# puppeteer's install script downloads Chrome
|
|
|
|
script:
|
2017-08-24 19:20:05 +00:00
|
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run lint; fi'
|
|
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run coverage; fi'
|
2017-10-02 22:14:57 +00:00
|
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run test-doclint; fi'
|
2017-08-26 02:28:49 +00:00
|
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run unit-node6; fi'
|
2017-08-24 19:20:05 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2017-10-17 22:02:09 +00:00
|
|
|
- node_js: "7.6.0"
|
2017-08-24 19:20:05 +00:00
|
|
|
env: NODE7=true
|
|
|
|
- node_js: "6.4.0"
|
|
|
|
env: NODE6=true
|
2017-12-28 01:19:48 +00:00
|
|
|
deploy:
|
|
|
|
provider: npm
|
|
|
|
email: aslushnikov@gmail.com
|
|
|
|
api_key:
|
2017-12-28 22:49:27 +00:00
|
|
|
secure: S/cwhamxKh0dsI46jewA6AkFXhDQWqfGkEe19WP3uoBg69jBqxs3DMcqGmd7og8RgqFUhhnBon8cDyJD25XHhDSSVANY9sFhwAPsty+Pjc9NHlG9My59tzpKSuhxOHxUaUd4Ug1gjYKTRNh4yYQKuGFm1mS3X34AbHg+eAFz6gVk3oVoc8Uu/rYH/dTP/ZGa29U7tn8DrEiyxoxv1pIEoX66AmAA649+nULwZw1MlhTaZZgYYIHlMC91dY6N6ql3ESj0zZSmQmrdZbWcGkTZDfBmdHMfFhnX9n0D7AgNvKNL+LDBcu7yiGO3hM2BrVOlGv24FFaHF5cLU4wuRuBvRG8cx3j1rG5w8c8jkEN1iL6qcmo76++YfILi3DIzD2n4RAsKeGILTcQOHhY4wqViuy0bb5zc5i/pqbtUERb3ngCZbNYTY8MQ5ertckmEw8daS/irREZfmThY90EPitsYw39f1+tdm9YUpWz/q2MpjqNByk6ycr17i2zFdqy4j/5CwrlmtewCw7Np8ubNITuqL7rst5GojlJvKSA3onuGyJLtSshUFn6lwwAHpkptZ5JWDwkxHiW+ofQ50Td6+NouJrSobOd1JzJ5om4eH2V1hkD5RP5saeDgojbRTMX+j8lQaQAnYQLYj0C2I1i6yl+VP0HUt7L//3zTRUetNTzGdA4=
|
2017-12-28 01:19:48 +00:00
|
|
|
on:
|
|
|
|
branch: master
|
2017-12-28 18:40:38 +00:00
|
|
|
condition: "$NODE7 = true"
|
2017-12-28 01:19:48 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
tag: next
|