Skip to content

Commit 9adf41c

Browse files
committed
fix(build) Add a .tsdrc file for github rate limiting.
See https://github.com/DefinitelyTyped/tsd#tsdrc
1 parent 1d79d53 commit 9adf41c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,20 @@ env:
88
- E2E_BROWSERS=Dartium
99
- LOGS_DIR=/tmp/angular-build/logs
1010
- ARCH=linux-x64
11+
# Token for tsd to increase github rate limit
12+
# See https://github.com/DefinitelyTyped/tsd#tsdrc
13+
# This does not use http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
14+
# because those are not visible for pull requests, and those should also be reliable.
15+
# This SSO token belongs to github account angular-github-ratelimit-token which has no access
16+
# (password is in Valentine)
17+
- TSDRC='{"token":"ef474500309daea53d5991b3079159a29520a40b"}'
1118
matrix:
1219
- MODE=js DART_CHANNEL=dev
1320
- MODE=dart DART_CHANNEL=stable
1421
- MODE=dart DART_CHANNEL=dev
1522

1623
before_install:
24+
- echo ${TSDRC} > .tsdrc
1725
- export DISPLAY=:99.0
1826
- export GIT_SHA=$(git rev-parse HEAD)
1927
- ./scripts/ci/init_android.sh

0 commit comments

Comments
 (0)