mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
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.
26 lines
542 B
YAML
26 lines
542 B
YAML
language: node_js
|
|
node_js:
|
|
- 0.10
|
|
|
|
env:
|
|
global:
|
|
- SAUCE_USERNAME=angular-ci
|
|
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
|
|
- SAUCE_CONNECT_READY_FILE=/tmp/sauce-connect-ready
|
|
- LOGS_DIR=/tmp/angular-build/logs
|
|
|
|
before_script:
|
|
- mkdir -p $LOGS_DIR
|
|
- ./lib/sauce/sauce_connect_setup.sh
|
|
- npm install -g grunt-cli
|
|
- grunt bower
|
|
- grunt bower
|
|
- grunt package-without-bower
|
|
- grunt ci-checks
|
|
- ./lib/sauce/sauce_connect_block.sh
|
|
|
|
script:
|
|
- ./travis_build.sh
|
|
|
|
after_script:
|
|
- ./travis_print_logs.sh
|