forked from mozilla/web-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (29 loc) · 811 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- set PATH=%APPDATA%\npm;%PATH%
- npm install
matrix:
fast_finish: true
build: off
shallow_clone: true
# Keep the following configs in sync with .travis.yml
environment:
matrix:
- nodejs_version: '6'
test_script:
- node --version
- npm --version
- set COVERAGE=y
- set NODE_ENV=production
- npm run test
## install the eslint version needed by eslint and run functional test suite
## (See #1082 for rationale).
## run functional test suite in a npm production environment
## (See #1082 for rationale).
- npm run copy-dist-files-to-artifacts-dir
- cd artifacts\production
- npm install --production
- cd ..\..
- set TEST_WEB_EXT_BIN=artifacts\production\bin\web-ext
- npm run test:functional