playwright/.travis.yml
Andrey Lushnikov 7e75cefd20
devops: restore publishing @next version (#1540)
This merges the `//utils/apply_next_version.js` in to
`//utils/update_version.js`.
2020-03-25 17:31:19 -07:00

50 lines
924 B
YAML

language: node_js
os: linux
dist: bionic
addons:
apt:
packages:
# These are required to run webkit
- libwoff1
- libopus0
- libwebp6
- libwebpdemux2
- libenchant1c2a
- libgudev-1.0-0
- libsecret-1-0
- libhyphen0
- libgdk-pixbuf2.0-0
- libegl1
- libgles2
- libevent-2.1-6
- libnotify4
- libxslt1.1
- libvpx5
# This is required to run chromium
- libgbm1
# this is needed for running headful tests
- xvfb
notifications:
email: false
cache:
directories:
- node_modules
script:
- npm run lint
- xvfb-run --auto-servernum npm run ctest
- xvfb-run --auto-servernum npm run ftest
- xvfb-run --auto-servernum npm run wtest
jobs:
include:
- node_js: '12'
before_deploy:
- node utils/update_version.js --next
deploy:
skip_cleanup: true
provider: script
script: utils/publish_all_packages.sh --tip-of-tree
on:
branch: master