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
|
|
|
|
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-08-26 02:28:49 +00:00
|
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run test-node6-transformer; fi'
|
2017-09-12 01:03:51 +00:00
|
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run build; 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:
|
|
|
|
- node_js: "7"
|
|
|
|
env: NODE7=true
|
|
|
|
- node_js: "6.4.0"
|
|
|
|
env: NODE6=true
|