
It seems that phantomjs 2.0.0 has problems with running tessts built with new ember-cli and sauce labs tests seem to work again. I'm switching back to sauce labs on pushes for the time being.
11 lines
291 B
Ruby
11 lines
291 B
Ruby
require 'json'
|
|
|
|
pull_request = ENV['TRAVIS_PULL_REQUEST'] != 'false'
|
|
|
|
testem = JSON.parse(File.read('testem.json'))
|
|
|
|
testem['launch_in_ci'] = ['PhantomJS']
|
|
testem['launch_in_ci'] = ['SL_chrome', 'SL_firefox'] unless pull_request
|
|
|
|
File.open('testem.json', 'w') { |f| f.write testem.to_json }
|