diff options
| author | Vojta Jina | 2013-08-28 17:48:46 -0700 |
|---|---|---|
| committer | Vojta Jina | 2013-08-28 17:48:46 -0700 |
| commit | 3379eebe4bca22316327b7f1ca92c2240b29187c (patch) | |
| tree | dae1327cb1e908ab0b8f67b03ebc4a165b5e2a28 /.travis.yml | |
| parent | 475eddf678fcf347f90b0addfb743c5954a0dfd0 (diff) | |
| download | angular.js-3379eebe4bca22316327b7f1ca92c2240b29187c.tar.bz2 | |
chore(travis): run bower install twice to make sure it does
This is a work-around for Bower/Node.js issue (https://github.com/bower/bower/issues/830). We run `bower install` twice, as the probability of failing twice in a row is very low.
I had to extract `bower` task out of the package, because we need to run `bower install` before building and `grunt bower` can fail, which takes down the whole process and therefore it wouldn't build.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 5ae0a5b6..4d0bfcdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,9 @@ before_script: - mkdir -p $LOGS_DIR - ./lib/sauce/sauce_connect_setup.sh - npm install -g grunt-cli - - grunt package + - grunt bower + - grunt bower + - grunt package-without-bower - grunt ci-checks - ./lib/sauce/sauce_connect_block.sh |
