fix(build) Add a .tsdrc file for github rate limiting.

See https://github.com/DefinitelyTyped/tsd#tsdrc
This commit is contained in:
Alex Eagle 2015-04-01 17:29:23 -07:00
parent 1d79d534d9
commit 9adf41ca2d
1 changed files with 8 additions and 0 deletions

View File

@ -8,12 +8,20 @@ env:
- E2E_BROWSERS=Dartium - E2E_BROWSERS=Dartium
- LOGS_DIR=/tmp/angular-build/logs - LOGS_DIR=/tmp/angular-build/logs
- ARCH=linux-x64 - ARCH=linux-x64
# Token for tsd to increase github rate limit
# See https://github.com/DefinitelyTyped/tsd#tsdrc
# This does not use http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
# because those are not visible for pull requests, and those should also be reliable.
# This SSO token belongs to github account angular-github-ratelimit-token which has no access
# (password is in Valentine)
- TSDRC='{"token":"ef474500309daea53d5991b3079159a29520a40b"}'
matrix: matrix:
- MODE=js DART_CHANNEL=dev - MODE=js DART_CHANNEL=dev
- MODE=dart DART_CHANNEL=stable - MODE=dart DART_CHANNEL=stable
- MODE=dart DART_CHANNEL=dev - MODE=dart DART_CHANNEL=dev
before_install: before_install:
- echo ${TSDRC} > .tsdrc
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- export GIT_SHA=$(git rev-parse HEAD) - export GIT_SHA=$(git rev-parse HEAD)
- ./scripts/ci/init_android.sh - ./scripts/ci/init_android.sh