Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
fix(travis): Run bower install twice to make sure it does
Browse files Browse the repository at this point in the history
Like angular/angular.js is doing.

This is a work-around for Bower/Node.js issue (bower/bower#830). We run `bower install` twice, as the probability of failing twice in a row is very low.
  • Loading branch information
douglasduteil committed Dec 14, 2013
1 parent 1b2dcd5 commit 6c909f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ before_install:
- sh -e /etc/init.d/xvfb start
- npm install -g bower grunt-cli
- npm install
- bower install
- bower install --force
- bower install --force
before_script: ./bower_components/angular-ui-docs/.travis/before_script.sh
after_success: ./bower_components/angular-ui-docs/.travis/after_success.sh
branches:
Expand Down

0 comments on commit 6c909f6

Please sign in to comment.