forked from angular/flex-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (38 loc) · 1.01 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
language: node_js
sudo: false
node_js:
- '6.9.4'
branches:
only:
- master
env:
global:
- LOGS_DIR=/tmp/flex-layout-build/logs
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
- BROWSER_STACK_USERNAME=angularteam1
- BROWSER_STACK_ACCESS_KEY=BWCd4SynLzdDcv8xtzsB
- BROWSER_PROVIDER_READY_FILE=/tmp/flex-layout-build/readyfile
- BROWSER_PROVIDER_ERROR_FILE=/tmp/flex-layout-build/errorfile
matrix:
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
- MODE=lint
- MODE=saucelabs_required
- MODE=browserstack_required
- MODE=saucelabs_optional
- MODE=browserstack_optional
matrix:
fast_finish: true
allow_failures:
- env: "MODE=saucelabs_optional"
- env: "MODE=browserstack_optional"
before_script:
- mkdir -p $LOGS_DIR
script:
- ./tools/scripts/ci/build-and-test.sh
after_success:
- ./tools/scripts/ci/after-success.sh
cache:
yarn: true
directories:
- node_modules