diff options
author | Jon Moss <me@jonathanmoss.me> | 2016-05-09 15:42:28 -0400 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2016-05-25 09:21:28 -0700 |
commit | 8cfce058d9d002526fd93e66957f8359985c92bf (patch) | |
tree | f8fcab1332fc01d87196c4233d32f8d03ce6a16b /actioncable | |
parent | bf219714dce494f5b69cb7dd9b8c43a68a4988da (diff) | |
download | rails-8cfce058d9d002526fd93e66957f8359985c92bf.tar.gz rails-8cfce058d9d002526fd93e66957f8359985c92bf.tar.bz2 rails-8cfce058d9d002526fd93e66957f8359985c92bf.zip |
CI: run Action Cable browser tests in Sauce Labs
Allow failures until test runs are consistently stable, not hanging.
Closes #24943.
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/Rakefile | 8 | ||||
-rw-r--r-- | actioncable/blade.yml | 21 |
2 files changed, 27 insertions, 2 deletions
diff --git a/actioncable/Rakefile b/actioncable/Rakefile index b0e9c0a4a8..a72142deb5 100644 --- a/actioncable/Rakefile +++ b/actioncable/Rakefile @@ -24,8 +24,12 @@ namespace :test do end or raise "Failures" end - task :javascript do - Blade.start(interface: :runner) + task :integration do + if ENV['CI'] + Blade.start(interface: :ci) + else + Blade.start(interface: :runner) + end end end diff --git a/actioncable/blade.yml b/actioncable/blade.yml index 9cdb318c97..e21151099a 100644 --- a/actioncable/blade.yml +++ b/actioncable/blade.yml @@ -11,3 +11,24 @@ build: - action_cable.js path: lib/assets/compiled clean: true + +plugins: + sauce_labs: + browsers: + Google Chrome: + os: Mac, Windows + version: -2 + Firefox: + os: Mac, Windows + version: -2 + Safari: + platform: Mac + version: -3 + Microsoft Edge: + version: -2 + Internet Explorer: + version: 11 + iPhone: + version: [9.2, 8.4] + Motorola Droid 4 Emulator: + version: [5.1, 4.4] |