From d0513914e4091758965111780d59c377f66d8669 Mon Sep 17 00:00:00 2001 From: Adi Prasetyo <3001652+brutalcrozt@users.noreply.github.com> Date: Tue, 17 Oct 2017 01:47:21 +0700 Subject: [PATCH] chore: Add windows CI (appveyor) (#1046) This patch adds appveyor to make sure puppeteer works reliably on windows. Fixes #955 --- .appveyor.yml | 19 +++++++++++++++++++ README.md | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000000..f95b75d5abb --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,19 @@ +environment: + matrix: + - nodejs_version: "6" + - nodejs_version: "7" + +build: off + +install: + - ps: Install-Product node $env:nodejs_version + - yarn install + - if "%nodejs_version%" == "7" ( + yarn run lint & + yarn run coverage & + yarn run test-doclint + ) else ( + yarn run test-node6-transformer & + yarn run build & + yarn run unit-node6 + ) diff --git a/README.md b/README.md index 062e7784ab3..128798e5347 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Puppeteer [![Build Status](https://travis-ci.org/GoogleChrome/puppeteer.svg?branch=master)](https://travis-ci.org/GoogleChrome/puppeteer) [![NPM puppeteer package](https://img.shields.io/npm/v/puppeteer.svg)](https://npmjs.org/package/puppeteer) +# Puppeteer [![Build Status](https://travis-ci.org/GoogleChrome/puppeteer.svg?branch=master)](https://travis-ci.org/GoogleChrome/puppeteer) [![App Veyor build status](https://ci.appveyor.com/api/projects/status/github/aslushnikov/puppeteer)](https://ci.appveyor.com/project/aslushnikov/puppeteer) [![NPM puppeteer package](https://img.shields.io/npm/v/puppeteer.svg)](https://npmjs.org/package/puppeteer)