forked from angular/protractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (45 loc) · 971 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
44
45
46
47
48
49
50
51
52
53
language: node_js
sudo: false
node_js:
- "9"
- "10"
env:
global:
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
- BROWSER_STACK_USERNAME=angularteam1
- BROWSER_STACK_ACCESS_KEY=BWCd4SynLzdDcv8xtzsB
- LOGS_DIR=/tmp/protractor-build/logs
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
- CXX=g++-4.8
matrix:
- JOB=full
- JOB=smoke
- JOB=bstack
matrix:
allow_failures:
- env: "JOB=smoke"
- env: "JOB=bstack"
exclude:
- env: JOB=smoke
node_js: "9"
- env: JOB=bstack
node_js: "9"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- travis_wait g++-4.8 --version
before_script:
- npm run install_testapp
- npm run pretest
- mkdir -p $LOGS_DIR
- scripts/travis_setup.sh
script:
- ./scripts/testserver.sh
- ./scripts/test_on_travis.sh
after_script:
- ./scripts/print_logs.sh