forked from angular/material.angular.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 968 Bytes
/
.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
language: node_js
sudo: false
node_js:
# Use the explicit NodeJS LTS version 8.9.4 to avoid any automatic upgrade of the version.
# This ensures that all Travis jobs run consistently and don't have different Node versions.
- '8.9.4'
branches:
only:
- master
env:
global:
- LOGS_DIR=/tmp/material-angular-io-build/logs
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
- BROWSER_STACK_USERNAME=angularteam1
- BROWSER_STACK_ACCESS_KEY=CaXMeMHD9pr5PHg8N7Jq
- BROWSER_PROVIDER_READY_FILE=/tmp/material-angular-io-build/readyfile
- BROWSER_PROVIDER_ERROR_FILE=/tmp/material-angular-io-build/errorfile
matrix:
- MODE=lint
# TODO(josephperrott): Add e2e tests
# - MODE=e2e
- MODE=saucelabs
- MODE=browserstack
matrix:
fast_finish: true
install:
- npm install
before_script:
- mkdir -p $LOGS_DIR
script:
- ./scripts/ci/build-and-test.sh
cache:
directories:
- node_modules