-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
49 lines (36 loc) · 1.05 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
45
46
47
# Test against this version of Node.js
environment:
matrix:
- nodejs_version: '8'
# fail all the builds once any of the builds fail have failed
matrix:
fast_finish: true
# build only this branches
branches:
only:
- master
# Do not build tags
skip_tags: true
# Pull Requests do not increment build number
pull_requests:
do_not_increment_build_number: true
# Install scripts. (runs after repo cloning)
install:
# install google chrome
- choco install googlechrome
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# Install @angular/cli globally
- npm install -g @angular/[email protected]
# install the dependencies and build the necessary files
- cd test-app && yarn install && yarn build:browser && yarn build:server
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run the test script in the directory
- set NODE_ENV=production
- cd test-app && ng --version && yarn test:win
# Don't actually build.
build: off