2017-06-21 00:04:24 +00:00
|
|
|
language: node_js
|
2020-04-08 09:38:07 +00:00
|
|
|
os: linux
|
2017-06-21 00:04:24 +00:00
|
|
|
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-08-24 19:20:05 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-04-08 09:38:07 +00:00
|
|
|
- node_js: "10.19.0"
|
|
|
|
dist: trusty
|
2020-04-03 11:22:02 +00:00
|
|
|
env:
|
|
|
|
- CHROMIUM=true
|
2020-04-08 09:38:07 +00:00
|
|
|
before_install:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2020-04-15 11:30:42 +00:00
|
|
|
# populate .local-firefox for launcher tests
|
|
|
|
- PUPPETEER_PRODUCT=firefox npm install
|
2020-04-08 09:38:07 +00:00
|
|
|
script: ./travis/chromium.sh
|
2020-04-08 10:18:29 +00:00
|
|
|
- node_js: "10.19.0"
|
|
|
|
dist: trusty
|
|
|
|
env:
|
|
|
|
- FIREFOX=true
|
|
|
|
before_install:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2020-04-15 11:30:42 +00:00
|
|
|
# install step will add .local-chromium for launcher tests
|
|
|
|
- PUPPETEER_PRODUCT=firefox npm install
|
2020-04-08 10:18:29 +00:00
|
|
|
script:
|
2020-04-15 11:30:42 +00:00
|
|
|
- "npm run funit"
|