playwright/.travis.yml

36 lines
709 B
YAML
Raw Normal View History

2019-11-19 05:18:28 +03:00
language: node_js
2019-12-06 02:18:55 +03:00
dist: bionic
2019-11-19 05:18:28 +03:00
addons:
apt:
packages:
# This is required to run new chrome on old trusty
2019-12-06 02:18:55 +03:00
# - libnss3
# This is required to run webkit
- libwoff1
- libopus0
- libwebp6
- libwebpdemux2
- libenchant1c2a
- libgudev-1.0-0
- libsecret-1-0
- libhyphen0
- libgdk-pixbuf2.0-0
2019-11-19 05:18:28 +03:00
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:
2019-12-06 00:04:41 +03:00
- "npm run build"
- "npm run unit"
- "npm run funit"
- "npm run wunit"
2019-11-19 05:18:28 +03:00
jobs:
include:
2019-12-06 00:04:41 +03:00
- node_js: "10.17.0"