mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
f08f33458f
This test ensures that Chrome Headless can successfully read cookies written by Chrome Headful. References #921
32 lines
843 B
YAML
32 lines
843 B
YAML
language: node_js
|
|
dist: trusty
|
|
addons:
|
|
apt:
|
|
packages:
|
|
# This is required to run new chrome on old trusty
|
|
- libnss3
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|
|
# allow headful tests
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
install:
|
|
- yarn install
|
|
# puppeteer's install script downloads Chrome
|
|
script:
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run lint; fi'
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run coverage; fi'
|
|
- 'if [ "$NODE7" = "true" ]; then yarn run test-doclint; fi'
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run test-node6-transformer; fi'
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run build; fi'
|
|
- 'if [ "$NODE6" = "true" ]; then yarn run unit-node6; fi'
|
|
jobs:
|
|
include:
|
|
- node_js: "7.6.0"
|
|
env: NODE7=true
|
|
- node_js: "6.4.0"
|
|
env: NODE6=true
|