forked from aurelia/skeleton-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (40 loc) · 1.37 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
43
44
# Test against this version of Node.js
environment:
matrix:
- nodejs_version: "4"
cache:
- skeleton-esnext/node_modules
- skeleton-esnext/jspm_packages
- skeleton-esnext-webpack/node_modules
- skeleton-typescript/node_modules
- skeleton-typescript/jspm_packages
- skeleton-typescript-webpack/node_modules
- "%LOCALAPPDATA%/Yarn"
# 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
- npm install -g jspm
# install modules
- cd skeleton-esnext-webpack && yarn
- cd skeleton-typescript-webpack && yarn
- cd skeleton-esnext && npm install --no-optional || true
- cd skeleton-esnext && jspm install
- cd skeleton-typescript && npm install --no-optional || true
- cd skeleton-typescript && jspm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- yarn --version
# run tests
- cd skeleton-typescript-webpack && yarn run test
- cd skeleton-typescript-webpack && yarn run e2e
- cd skeleton-typescript-webpack && yarn run build:prod
- cd skeleton-esnext-webpack && yarn run test
- cd skeleton-esnext-webpack && yarn run e2e
- cd skeleton-esnext-webpack && yarn run build:prod
- cd skeleton-esnext && npm run test
- cd skeleton-typescript && npm run test
# Don't actually build.
build: off