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"
|
|
|
|
script: ./travis/chromium.sh
|
2020-04-08 10:18:29 +00:00
|
|
|
- node_js: "10.19.0"
|
|
|
|
dist: trusty
|
|
|
|
env:
|
|
|
|
- FIREFOX=true
|
|
|
|
- FIREFOX_HOME=$TRAVIS_HOME/firefox-latest
|
|
|
|
before_install:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
|
|
- "pyenv shell 3.6 && pip3 install --user mozdownload"
|
|
|
|
- "rm -rf $FIREFOX_HOME && mozdownload -t daily -d $FIREFOX_HOME/latest.tar.bz --log-level DEBUG"
|
|
|
|
- "cd $FIREFOX_HOME; tar -xvf latest.tar.bz; cd -; ls $FIREFOX_HOME/firefox/firefox"
|
|
|
|
script:
|
|
|
|
- "BINARY=$FIREFOX_HOME/firefox/firefox npm run funit"
|