mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
554bd59588
This patch adds experimental support for Cirrus CI builds. Cirrus CI has both Windows and Linux, uses google cloud and runs builds in Docker containers. This seems to be a promising combination for our needs.
29 lines
812 B
YAML
29 lines
812 B
YAML
env:
|
|
DISPLAY: :99.0
|
|
|
|
task:
|
|
matrix:
|
|
- name: node6 (windows)
|
|
windows_container:
|
|
dockerfile: .ci/node6/Dockerfile.windows
|
|
- name: node6 (linux)
|
|
container:
|
|
dockerfile: .ci/node6/Dockerfile.linux
|
|
xvfb_start_background_script: Xvfb :99 -ac -screen 0 1024x768x24
|
|
install_script: npm install --unsafe-perm
|
|
test_script: npm run unit-node6
|
|
|
|
task:
|
|
matrix:
|
|
- name: node7 (windows)
|
|
windows_container:
|
|
dockerfile: .ci/node7/Dockerfile.windows
|
|
- name: node7 (linux)
|
|
container:
|
|
dockerfile: .ci/node7/Dockerfile.linux
|
|
xvfb_start_background_script: Xvfb :99 -ac -screen 0 1024x768x24
|
|
install_script: npm install --unsafe-perm
|
|
lint_script: npm run lint
|
|
coverage_script: npm run coverage
|
|
test_doclint_script: npm run test-doclint
|