From d7fde0c6e6f25c7b52e711687d789152b8619e14 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 22 Jan 2020 14:53:36 -0800 Subject: [PATCH] devops(ci): resurrecting travis --- .travis.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c55d19f65..226a3d9051 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"