Skip to content

Commit

Permalink
Don't fail Travis on sauce failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiebits committed May 19, 2014
1 parent 66291d2 commit 8db8e60
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ script:
grunt $TEST_TYPE
after_script:
- |
if [ "$TEST_TYPE" = test:full ] && [ "$SERVER" ]; then
if [ "$TEST_TYPE" = test ] && [ "$SERVER" ]; then
grunt build
curl \
-F "react=@build/react.js" \
Expand All @@ -26,10 +26,11 @@ after_script:
fi
env:
matrix:
- TEST_TYPE=test:full
- TEST_TYPE=test
- TEST_TYPE=lint
- TEST_TYPE=perf:full
- TEST_TYPE=test:coverage
- TEST_TYPE=test:webdriver:saucelabs:modern
- TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie11
- TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie10
- TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie9
Expand All @@ -47,6 +48,7 @@ matrix:
- env: TEST_TYPE=lint
- env: TEST_TYPE=test:coverage
- env: TEST_TYPE=perf:full
- env: TEST_TYPE=test:webdriver:saucelabs:modern
- env: TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie11
- env: TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie10
- env: TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie9
Expand Down
11 changes: 11 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@ module.exports = function(grunt) {
'webdriver-jasmine:saucelabs_' + (process.env.BROWSER_NAME || 'ie8')
]);

grunt.registerTask('test:webdriver:saucelabs:modern', [
'build:test',
'build:basic',

'connect',
'sauce-tunnel',
'webdriver-jasmine:saucelabs_android',
'webdriver-jasmine:saucelabs_firefox',
'webdriver-jasmine:saucelabs_chrome'
]);

grunt.registerTask('test:webdriver:saucelabs:ie', [
'build:test',
'build:basic',
Expand Down

0 comments on commit 8db8e60

Please sign in to comment.