Skip to content

Commit

Permalink
chore(ci): Configure OSX on Cirrus CI (puppeteer#2774)
Browse files Browse the repository at this point in the history
Cirrus CI recently started supporting Mac OS builds. This PR adds a CI task to test Puppeteer on MacOS.

It uses Node 8 since only [Node 6 and Node 8 are LTS](https://github.com/nodejs/Release#release-schedule) so `brew` only has receipts for those two TLS versions besides the latest one.
  • Loading branch information
fkorotkov authored and aslushnikov committed Jun 19, 2018
1 parent 1064aa4 commit ea8ec1e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@ task:
lint_script: npm run lint
coverage_script: npm run coverage
test_doclint_script: npm run test-doclint

task:
osx_instance:
image: high-sierra-base
name: node8 (macOS)
node_install_script:
- brew install node@8
- brew link --force node@8
install_script: npm install --unsafe-perm
lint_script: npm run lint
coverage_script: npm run coverage
test_doclint_script: npm run test-doclint

0 comments on commit ea8ec1e

Please sign in to comment.