chore: update travis for new builds syntax (#3022)

This commit is contained in:
Jesús Rodríguez 2016-12-21 23:28:26 +01:00 committed by Filipe Silva
parent e4eb75502d
commit ac6121b00b
1 changed files with 0 additions and 7 deletions

View File

@ -2,12 +2,5 @@
set -ex -o pipefail
PREFIX=2.0.0-
if [ "$PREVIEW_BRANCH" != "master" ]; then
PREVIEW_BRANCH=$PREFIX$(git ls-remote https://github.com/angular/angular | grep $LATEST_RELEASE_BRANCH)
PREVIEW_BRANCH=${PREVIEW_BRANCH:0:13}
fi
./scripts/examples-install.sh
(cd public/docs/_examples && npm install angular/{core,common,compiler,platform-browser,platform-browser-dynamic,http,forms,router,upgrade}-builds#$PREVIEW_BRANCH --no-optional)