Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 30b370d

Browse files
fix(travis): update secure access token for Github pushes
1 parent 3badcc0 commit 30b370d

File tree

1 file changed

+26
-37
lines changed

1 file changed

+26
-37
lines changed

.travis.yml

Lines changed: 26 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,40 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- '4.2.3'
5-
4+
- 4.2.3
65
env:
76
global:
8-
- LOGS_DIR=/tmp/angular-material1-build/logs
9-
- SAUCE_USERNAME=angular-ci
10-
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
11-
- BROWSER_STACK_USERNAME=angularteam1
12-
- BROWSER_STACK_ACCESS_KEY=BWCd4SynLzdDcv8xtzsB
13-
- secure: TWmpBzRG68b9e5wbJ7I6ox8TrZTnU/XpOkBvggJyuMgvUz27accp92Y9U7DWUPiXYXcWnoc7pqVAvEbwd1/ykHKCqezmyEXsrzZo6POg2lNFXkI9vSuDukL8A4Ct9zANVmr+5Y+kEBtQ/viyO5Rxc5H9bZskSeMaegqR60ZT2E8=
14-
7+
- LOGS_DIR=/tmp/angular-material1-build/logs
8+
- SAUCE_USERNAME=angular-ci
9+
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
10+
- BROWSER_STACK_USERNAME=angularteam1
11+
- BROWSER_STACK_ACCESS_KEY=BWCd4SynLzdDcv8xtzsB
12+
- secure: X7CNmOMemAJ9Jqrsmv6MXyeh8n8TIL5CKzE9LYsZUbsyKo0l5CyyysJq0y/AbpQS6awsSv2qP/cZ/kand6r6z0wMFbUcxa4HjMZEfRwv3sGtwj1OKJko/GvjcZQzD54FtHy1NU7wR0mYhAlE5IwH7f8bMa/nUiijgD/TOCTtKH8=
1513
cache:
1614
directories:
17-
- node_modules
18-
- $HOME/.pub-cache
19-
15+
- node_modules
16+
- "$HOME/.pub-cache"
2017
branches:
2118
only:
22-
- master
23-
19+
- master
2420
before_install:
25-
# configure phantomjs2
26-
- mkdir travis-phantomjs
27-
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
28-
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
29-
- export PHANTOMJS_BIN=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs
30-
21+
- mkdir travis-phantomjs
22+
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
23+
-O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
24+
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
25+
- export PHANTOMJS_BIN=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs
3126
install:
32-
- npm install
33-
27+
- npm install
3428
before_script:
35-
# Necessary to run test on Travis CI that require a graphical interface.
36-
# See https://docs.travis-ci.com/user/gui-and-headless-browsers
37-
- "export DISPLAY=:99.0"
38-
- "sh -e /etc/init.d/xvfb start"
39-
- mkdir -p $LOGS_DIR
40-
- git config --global user.email "ngmaterial@googlegroups.com"
41-
- git config --global user.name "ngMaterial Bot"
42-
29+
# Necessary to run test on Travis CI that require a graphical interface.
30+
# See https://docs.travis-ci.com/user/gui-and-headless-browsers
31+
- export DISPLAY=:99.0
32+
- sh -e /etc/init.d/xvfb start
33+
- mkdir -p $LOGS_DIR
34+
- git config --global user.email "ngmaterial@googlegroups.com"
35+
- git config --global user.name "ngMaterial Bot"
4336
script:
44-
# Fail builds which use iit/ddescribe, but run the tests anyways
45-
- gulp ddescribe-iit
46-
- gulp karma --reporters='dots'
47-
37+
- gulp ddescribe-iit
38+
- gulp karma --reporters='dots'
4839
after_success:
49-
- ./scripts/travis-build-init.sh --sha=$TRAVIS_COMMIT
50-
51-
40+
- "./scripts/travis-build-init.sh --sha=$TRAVIS_COMMIT"

0 commit comments

Comments
 (0)