forked from laravel-mix/laravel-mix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
32 lines (28 loc) · 871 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
# Test against all supported versions of Node.js on windows
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "7"
- nodejs_version: "8"
- nodejs_version: "9"
cache:
- node_modules
- "%LOCALAPPDATA%\\Yarn"
# Install scripts. (runs after repo cloning)
install:
# Get the version of Node.js
- ps: Install-Product node $env:nodejs_version
# install modules – uses yarn to avoid the following case
# npm 3.10.10, used in node 6 environment doesn't respect package.lock and thus installs other versions of packages
# than later npm releases. This causes hashes to be different and thus it causes tests to fail in the
# node 6 environment
- yarn
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- yarn --version
# run tests
- yarn test
# Don't actually build.
build: off