2017-06-21 00:04:24 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "7"
|
|
|
|
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
|
|
|
env:
|
|
|
|
cache:
|
|
|
|
yarn: true
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
install:
|
|
|
|
- yarn install
|
|
|
|
# puppeteer's install script downloads Chrome
|
|
|
|
script:
|
|
|
|
- yarn run lint
|
2017-06-21 00:32:08 +00:00
|
|
|
- yarn run unit
|
2017-06-21 00:04:24 +00:00
|
|
|
- yarn run test-phantom
|