devops(ci): resurrecting travis

This commit is contained in:
Andrey Lushnikov 2020-01-22 14:53:36 -08:00
parent 6308dbe01e
commit d7fde0c6e6

View file

@ -3,9 +3,7 @@ dist: bionic
addons:
apt:
packages:
# This is required to run new chrome on old trusty
# - libnss3
# This is required to run webkit
# These are required to run webkit
- libwoff1
- libopus0
- libwebp6
@ -15,21 +13,23 @@ addons:
- libsecret-1-0
- libhyphen0
- libgdk-pixbuf2.0-0
- libegl1
- libgles2
- libevent-2.1-6
- libnotify4
- libxslt1.1
- xvfb
notifications:
email: false
cache:
directories:
- node_modules
# allow headful tests
before_install:
- "sysctl kernel.unprivileged_userns_clone=1"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- "pushd .local-webkit/$(ls .local-webkit)/minibrowser-wpe; ls -1 | grep -v pw_run.sh | LD_LIBRARY_PATH=$PWD xargs ldd; popd"
- "npm run build"
- "npm run unit"
- "npm run funit"
- "npm run wunit"
- "xvfb-run --auto-servernum npm run unit"
- "xvfb-run --auto-servernum npm run funit"
- "xvfb-run --auto-servernum npm run wunit"
jobs:
include:
- node_js: "10.17.0"
- node_js: "12"