mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
5c4751d5dd
We now commit protocol.ts files during the roll. New utils/roll_browser.js helps with that. This makes our installation very shallow: - build installer; - download browsers.
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
language: node_js
|
|
notifications:
|
|
email: false
|
|
|
|
install:
|
|
- npm ci
|
|
|
|
jobs:
|
|
include:
|
|
- os: linux
|
|
dist: bionic
|
|
node_js: '12'
|
|
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
|
|
# gstreamer and plugins to support video playback in WebKit.
|
|
- gstreamer1.0-gl
|
|
- gstreamer1.0-plugins-base
|
|
- gstreamer1.0-plugins-good
|
|
- gstreamer1.0-plugins-bad
|
|
# This is required to run chromium
|
|
- libgbm1
|
|
# this is needed for running headful tests
|
|
- xvfb
|
|
script:
|
|
- npm run build
|
|
- xvfb-run --auto-servernum npm run test
|
|
- os: osx
|
|
osx_image: xcode11.3
|
|
node_js: '12'
|
|
script:
|
|
- npm run build
|
|
- npm run test
|
|
|