-
Notifications
You must be signed in to change notification settings - Fork 160
/
appveyor.yml
42 lines (38 loc) · 1.13 KB
/
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
34
35
36
37
38
39
40
41
42
# Test against the latest version of this Node.js version
environment:
matrix:
# test lts
- nodejs_version: "8"
webpack_version: "3"
extract_text_version: "3"
babel_loader_version: "7"
file_loader_version: "0.11"
html_plugin_version: "2.22.0"
# test latest
- nodejs_version: "10"
webpack_version: "4"
extract_text_version: "3"
babel_loader_version: "7"
file_loader_version: "1"
html_plugin_version: "3.2.0"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
- npm install webpack@%webpack_version% extract-text-webpack-plugin@%extract_text_version% babel-loader@%babel_loader_version% file-loader@%file_loader_version% html-webpack-plugin@%html_plugin_version%
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
# - npm test
- set NODE_ENV=test
- node_modules/.bin/mocha tests/*.js
# Don't actually build.
build: off
branches:
only:
- master