mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
f13c30a9ec
* chore: migrate `src/USKeyboardLayout` to typescript Don't think we need to expose the interface type for the keycodes so I've left it local for now. * retry windows unit tests
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
language: node_js
|
|
os: linux
|
|
dist: trusty
|
|
addons:
|
|
apt:
|
|
packages:
|
|
# This is required to run new chrome on old trusty
|
|
- libnss3
|
|
notifications:
|
|
email: false
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
jobs:
|
|
include:
|
|
- os: "windows"
|
|
node_js: "10.19.0"
|
|
env:
|
|
- CHROMIUM=true
|
|
before_install:
|
|
# populate .local-firefox for launcher tests
|
|
- PUPPETEER_PRODUCT=firefox npm install
|
|
script:
|
|
- ls .local-chromium .local-firefox
|
|
- npm run tsc
|
|
- travis_retry npm run unit
|
|
- node_js: "10.19.0"
|
|
dist: trusty
|
|
env:
|
|
- CHROMIUM=true
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
# populate .local-firefox for launcher tests
|
|
- PUPPETEER_PRODUCT=firefox npm install
|
|
script: ./travis/chromium.sh
|
|
- node_js: "10.19.0"
|
|
dist: trusty
|
|
env:
|
|
- FIREFOX=true
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
# install step will add .local-chromium for launcher tests
|
|
- PUPPETEER_PRODUCT=firefox npm install
|
|
script:
|
|
- "npm run funit"
|