Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops(ci): resurrecting travis

Andrey Lushnikovd7fde0c6e6f2
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"