Skip to content

Commit

Permalink
Merge pull request #1021 from jonnybazookatone/master
Browse files Browse the repository at this point in the history
Run saucelabs via Travis CI
  • Loading branch information
aholachek authored Jul 16, 2016
2 parents 76fd6ab + 7fe796f commit 50b12ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ before_install: npm install -g grunt-cli
install: npm install
deployg: grunt release
before_script: grunt setup
script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo "grunt test"; grunt test; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then echo "grunt sauce"; grunt sauce; fi
env:
global:
- secure: "sFUsR97iL52eNYu2snnU2Gs5DdUsi8Dlx8oxWZfbEOIEbBt6c3HE85bDkNu//s6ZtFeiJPgkK5k4zm8pbQrC/rfe3xNjsjqalWIZlIdg5DTJ5Eme0YRdi6m2dHHp34CeBpYPqfVyjQIb5JalJkaydRXKYV81rk1zpo89ouO1JLz9HnvXzmAGEy+7PKeYE7k1260qfk8468i7gPM1uZpDrWRiMMm2P8IAwGcbvOxhXJaChC+RqlnRApxLMb0vRhwv6g0eWe0qxikKF1Bwe3uiyt3Yqu2CeJhM5J1koTP/k0q1bmnBZu0eF46TGBXTKJ1q8RCwVqnn/b2Y42wGhkS8ESn1S/J+knKisXAAY+emfzOyNOyZHRqpMhonpT3RhVYxQRyrSyY3aIzyc8B3PaHhYqcgFNOkdJPFc23SPDZjmbOJ80siTfKgAzUWCgSPeK/O4j9d0GEeBgaNFKP63UAd7VK5IElq7ByySbjZl+lQiuaA0IfTpZwi+Xp7VqXAd1ASwsB7jeOcy9EoQJNSWjeYaMPw+BRyGsU0uPNb9CsM/AtI35vRAXyH9nNis9zccXqYApur+2rELo18I2bKmWiupc78UqNVOQCHcIyvjMDy4vSnhwBqqXRnqjt+MiermkQAll5BWd0v2CL3i3I/3K1kkPe7MG7+8ZtUom0atawbbXA="
- secure: "yKEZPN+sHuPJei3b8mN0eU+lmY2v4hJuuI2UI8kLgzj0HeuMhAYtcNFG/TM29FHR9ABSSggKBbD/+NFNMPYH3+q9wKqw7KHmiJh7EtUHbD4/LIeVDUewoSXZSEDhjDp/HUpl7fDp3FD/Rakzcn0Tbpn7Zcy31BSUl2i1bQraht22zLv29NM8AQjqawekGzAtzgtHCL8LQcZITOFYI1KtVg/kNeV1yuo6PJ6eXO8BsHQflmaeDubt0YWgWjarAYjWY7Y7/D2KXT51tKRV5PN7n78yC44c3PN0ksXpqcjmdDtqAc0szAvpuFcl4jFs+we6YoUAElFnxZ0aYvj1mf0PdgFyd07OgppXxqoiUDuv5N3Mrd3ucdvTffdKHoAdHbKxJKlJfkMUgshP4tA1iNZf0yExT3cpDwlmJ5iHmvd/qWSAfAQ/tGUCbDcPO6ClrGjo9t1JcR8GRGuA5PeOnTLXUjcXx8BRyOgc9tlzfTD0ookWJkojcBRpjuN/AcP673w4PT8ROmKkG/TcaBTEtIC1QVTU8DC4z4rU4N9p4vrngNNGL/jYvvo9x5eibRW82oQuohlKW+rOWn99Ajld9j2Tp2lQAd9mFtlSnep7+8iOa6th1WZTbSHUyQ+lv8lHvP0VGG2pCKWoqStmwn/+crz8waasg0+6S4iKdRU3MGksTOU="
12 changes: 2 additions & 10 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,16 +660,14 @@ module.exports = function(grunt) {
'saucelabs-mocha': {
all: {
options: {
username: '<%= local.sauce_username || process.env.SAUCE_USERNAME %>',
key: '<%= local.sauce_access_key || process.env.SAUCE_ACCESS_KEY %>',
urls: ['http://localhost:<%= local.port || 8000 %>/test/' + (grunt.option('testname') || 'mocha/tests.html?bbbSuite=core-suite')],
tunnelTimeout: 30,
"tunnel-identifier": process.env.TRAVIS_JOB_NUMBER,
build: process.env.TRAVIS_JOB_ID,
concurrency: 5,
throttled: 5,
maxRetries: 1,

pollInterval: 2000,
statusCheckAttempts: 180,
// the logic here is to test browser versions
// bbb does not depend on OS specific API's
// but it could still happen that certain features
Expand All @@ -685,12 +683,6 @@ module.exports = function(grunt) {
platform: 'Windows 8.1',
version: '11.0'
},

{
browserName: 'safari',
platform: 'OS X 10.6',
version: '5.1'
},
{
browserName: "android",
platform: "linux",
Expand Down

0 comments on commit 50b12ed

Please sign in to comment.