mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
cd81944e66
This patch starts running all puppeteer tests with node6 on travis-ci.
26 lines
620 B
YAML
26 lines
620 B
YAML
language: node_js
|
|
dist: trusty
|
|
addons:
|
|
apt:
|
|
packages:
|
|
# This is required to run new chrome on old trusty
|
|
- libnss3
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|
|
install:
|
|
- yarn install
|
|
# puppeteer's install script downloads Chrome
|
|
script:
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run lint; fi'
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run coverage; fi'
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run test-node6-transformer; fi'
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run unit-node6; fi'
|
|
jobs:
|
|
include:
|
|
- node_js: "7"
|
|
env: NODE7=true
|
|
- node_js: "6.4.0"
|
|
env: NODE6=true
|