This repository has been archived by the owner on Jun 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 512
/
appveyor.yml
44 lines (40 loc) · 1.49 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: "8"
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 --ignore-engines
- cd skeleton-typescript-webpack && yarn --ignore-engines
# - cd skeleton-esnext && yarn install --no-optional
# - cd skeleton-esnext && jspm install
# - cd skeleton-typescript && yarn install --no-optional
# - 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 start -- webpack.build
- cd skeleton-esnext-webpack && yarn start -- webpack.build
- cd skeleton-typescript-webpack && yarn start -- webpack.build.development
- cd skeleton-esnext-webpack && yarn start -- webpack.build.development
- cd skeleton-typescript-webpack && yarn start -- test.all
- cd skeleton-esnext-webpack && yarn start -- test.all
# - cd skeleton-esnext && npm run test
# - cd skeleton-typescript && npm run test
# Don't actually build.
build: off