Skip to content

Commit

Permalink
chore(ci): use travis sauce_connect addon (#578)
Browse files Browse the repository at this point in the history
* use travis sauce_connect addon

* add back saucie

* add chrome to ci list
  • Loading branch information
bantic committed Aug 31, 2017
1 parent c33b804 commit 2338b25
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 55 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ dist: trusty

addons:
chrome: stable
sauce_connect:
username: mobiledoc-kit
access_key: f9cad21d-1141-452d-8f64-c6ba3f43faa6

cache:
yarn: true
Expand All @@ -18,6 +21,3 @@ before_install:

script:
- yarn test:ci

env:
- SAUCE_USERNAME=mobiledoc-kit SAUCE_ACCESS_KEY=f9cad21d-1141-452d-8f64-c6ba3f43faa6
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"conventional-changelog-cli": "^1.3.1",
"jquery": "^3.2.1",
"jsdoc": "^3.4.2",
"saucie": "^3.1.0",
"saucie": "^3.3.0",
"testem": "^1.16.0"
},
"main": "dist/commonjs/mobiledoc-kit/index.js"
Expand Down
22 changes: 0 additions & 22 deletions sauce_labs/saucie-connect.js

This file was deleted.

8 changes: 0 additions & 8 deletions sauce_labs/saucie-disconnect.js

This file was deleted.

8 changes: 0 additions & 8 deletions testem-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,8 @@
"timeout": 600,
"browser_start_timeout": 90,
"test_page": "dist/tests/index.html?hidepassed",
"on_start": "./sauce_labs/saucie-connect.js",
"on_exit": "./sauce_labs/saucie-disconnect.js",
"port": 8080,
"launchers": {
"SL_Chrome_Current": {
"exe": "saucie",
"args": ["-b", "chrome", "-p", "Windows 10", "-v", "latest", "--no-connect", "-u"],
"protocol": "tap"
},
"SL_MS_Edge": {
"exe": "saucie",
"args": ["-b", "microsoftedge", "--no-connect", "-u"],
Expand All @@ -38,7 +31,6 @@
"launch_in_ci": [
"Chrome",
"SL_Firefox_Current",
"SL_Chrome_Current",
"SL_Safari_Current",
"SL_MS_Edge",
"SL_IE_11"
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2417,8 +2417,8 @@ is-integer@^1.0.4:
is-finite "^1.0.0"

is-my-json-valid@^2.12.4:
version "2.16.0"
resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz#f079dd9bfdae65ee2038aae8acbc86ab109e3693"
version "2.16.1"
resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.1.tgz#5a846777e2c2620d1e69104e5d3a03b1f6088f11"
dependencies:
generate-function "^2.0.0"
generate-object-property "^1.1.0"
Expand Down Expand Up @@ -3575,7 +3575,7 @@ request@2.79.0:
tunnel-agent "~0.4.1"
uuid "^3.0.0"

request@^2.51.0, request@^2.81.0:
request@^2.81.0:
version "2.81.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
dependencies:
Expand Down Expand Up @@ -3705,7 +3705,7 @@ sane@^1.1.1, sane@^1.4.1:
walker "~1.0.5"
watch "~0.10.0"

sauce-connect-launcher@^1.2.0:
sauce-connect-launcher@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/sauce-connect-launcher/-/sauce-connect-launcher-1.2.2.tgz#7346cc8fbdc443191323439b0733451f5f3521f2"
dependencies:
Expand All @@ -3715,15 +3715,15 @@ sauce-connect-launcher@^1.2.0:
lodash "^4.16.6"
rimraf "^2.5.4"

saucie@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/saucie/-/saucie-3.1.0.tgz#757ea4a740a0e1071877dc5723d03a79ae40c3f4"
saucie@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/saucie/-/saucie-3.3.0.tgz#2eb508e7066e6063e2f90e61a285df8d4f4cfed6"
dependencies:
bluebird "^3.1.1"
commander "^2.9.0"
request "^2.51.0"
sauce-connect-launcher "^1.2.0"
wd "^1.0.0"
request "^2.81.0"
sauce-connect-launcher "^1.2.2"
wd "^1.2.0"

"semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.3.0:
version "5.3.0"
Expand Down Expand Up @@ -4371,9 +4371,9 @@ watch@~0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/watch/-/watch-0.10.0.tgz#77798b2da0f9910d595f1ace5b0c2258521f21dc"

wd@^1.0.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/wd/-/wd-1.3.0.tgz#fdbdfbe192805b1cbd7943375642f06d990bccef"
wd@^1.2.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/wd/-/wd-1.4.0.tgz#85958787abc32f048d4b3927b2ab3c5fc8c9c9fa"
dependencies:
archiver "1.3.0"
async "2.0.1"
Expand Down

0 comments on commit 2338b25

Please sign in to comment.