forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
109 lines (96 loc) · 3.98 KB
/
.travis.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
dist: trusty
sudo: false
addons:
chrome: stable
language: node_js
cache:
directories:
- ./node_modules
matrix:
fast_finish: true
allow_failures:
- env: nightly
- env: ng2
- node_js: "7"
- node_js: "8"
include:
- stage: build
script: npm run lint
env: lint
- script: npm run build
env: build
- stage: test
script: npm run test
env: test
- node_js: "6"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=0 --nosilent
env: e2e-0
- node_js: "6"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=1 --nosilent
env: e2e-1
- node_js: "6"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=2 --nosilent
env: e2e-2
- node_js: "6"
os: linux
script: node tests/run_e2e.js --nb-shards=4 --shard=3 --nosilent
env: e2e-3
- node_js: "6"
os: linux
script: node tests/run_e2e.js --eject "--glob=tests/build/**"
env: eject
# Optional builds.
- node_js: "6"
os: linux
before_script: if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0; fi
script: node tests/run_e2e.js --ng2 "--glob=tests/{build,test,misc}/**"
env: ng2
- node_js: "6"
os: linux
before_script: if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0; fi
script: node tests/run_e2e.js "--nightly --glob=tests/{build,test,misc}/**"
env: nightly
- node_js: "7"
os: linux
before_script: if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0; fi
script: node tests/run_e2e.js "--glob=tests/{build,test,misc}/**"
env: node7
- node_js: "8"
os: linux
before_script: if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0; fi
script: node tests/run_e2e.js "--glob=tests/build/**"
env: node8
- stage: deploy
script: skip
env: builds
deploy:
- provider: script
script: node scripts/git-builds.js
skip_cleanup: true
on:
all_branches: true
- stage: deploy
script: skip
env: publish
deploy:
- provider: script
script: node scripts/publish/publish.js
skip_cleanup: true
on:
tags: true
before_install:
# Install npm 5.
- npm install -g npm@~5.3.0
install:
- npm install
env:
global:
- DBUS_SESSION_BUS_ADDRESS=/dev/null
# GITHUB_ACCESS_TOKEN=<github token, a personal access token of the angular-builds account, account access in valentine>
# This is needed to publish packages to github for continuous packages delivery.
- secure: "XUM1RCN/ZH34ju2PI9eHPRMnSlbj45XcBx/ZnZ13wfau60iJCveU7Ded8SC8uwGDp58rGGePXyJfh5l5dAnIWbSAGNKlrEgGTr41RSCbyzrV6m4lAcwNzUo/PkKum1vAApk21PqscrSSWOBAOC3nMCln25GLzgUMm6G8FBOc599NuszcoQvru+H+4JthSHn4l/nmeTZDs2oCBvwnmng/78rEW5CXvJEpAwuaaZLvzzIFdoZu+SuceYvGnL5xHo0ppPF/0NYzZlb7KBKREp44Lq1lOKlDtH5wqjEi7b2aA7/GnesOgLUBmbbSVUzmCxs6PtzGhD56aiL2Qtu8c4LZyvNfzPXSLbx8ljYmdytHkio9w3377wWFRXJDfIsgv9JKHxxyA0T34yzQkqWbgWKPMgJ3om+lb875iXAtXfNyS0trnN+rwLZZtFxygjHyx8IWY+NZD5i5fyjMdFyetNxbHe3ktI73nY+Tl6hDqJXvN8WwQlMovLNUMcY4wGUoPooLka9L+94uetbf3U4KVgshrLHI59jMZsO0qrDGsCZMubHEy80acrNkCTi/uGIbVR0KF94z81VF+S7edYv80AkQTRijpgNV34045L/IqSHgbueozRgVFj2arkAGGFjLlZJifmsRC/Eq1ZWkKsKY/1NusKssCRtycJQjeLOW0qV1T0w="
# NPM_TOKEN used for deployment.
- secure: "QDefZm9p3/SQ6ts0WVkzwr1qv4tv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