mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-25 09:04:42 +00:00
This should not affect the Jenkins build at all. Now, the Travis build uses Chrome on Sauce Labs, which in theory gives us opportunity to use any browser/platform that Sauce Labs offers.
20 lines
495 B
YAML
20 lines
495 B
YAML
language: node_js
|
|
node_js:
|
|
- 0.8
|
|
|
|
env:
|
|
global:
|
|
- SAUCE_USERNAME=angular-ci
|
|
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
|
|
- SAUCE_CONNECT_READY_FILE=/tmp/sauce-connect-ready
|
|
|
|
before_script:
|
|
- export SAUCE_ACCESS_KEY=`echo $SAUCE_ACCESS_KEY | rev`
|
|
- ./lib/sauce/sauce_connect_setup.sh
|
|
- npm install -g grunt-cli
|
|
- grunt package
|
|
- grunt webserver > /dev/null &
|
|
- ./lib/sauce/sauce_connect_block.sh
|
|
|
|
script:
|
|
- grunt test --reporters dots --browsers SL_Chrome
|