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: addons:
apt: apt:
packages: packages:
# This is required to run new chrome on old trusty # These are required to run webkit
# - libnss3
# This is required to run webkit
- libwoff1 - libwoff1
- libopus0 - libopus0
- libwebp6 - libwebp6
@ -15,21 +13,23 @@ addons:
- libsecret-1-0 - libsecret-1-0
- libhyphen0 - libhyphen0
- libgdk-pixbuf2.0-0 - libgdk-pixbuf2.0-0
- libegl1
- libgles2
- libevent-2.1-6
- libnotify4
- libxslt1.1
- xvfb
notifications: notifications:
email: false email: false
cache: cache:
directories: directories:
- node_modules - 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: 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 build"
- "npm run unit" - "xvfb-run --auto-servernum npm run unit"
- "npm run funit" - "xvfb-run --auto-servernum npm run funit"
- "npm run wunit" - "xvfb-run --auto-servernum npm run wunit"
jobs: jobs:
include: include:
- node_js: "10.17.0" - node_js: "12"