Skip to content

Commit

Permalink
Revert to running browser tests in Travis (prebid#983)
Browse files Browse the repository at this point in the history
* Revert to running browser tests in Travis

* Use Ubuntu 14.04
  • Loading branch information
matthewlane authored and Will Alexander committed Mar 6, 2017
1 parent d1528b9 commit 53977e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
sudo: required
dist: trusty

language: node_js

node_js:
- "5.1"

addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable

before_install:
- npm install -g gulp
- export CHROME_BIN=chromium-browser
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ gulp.task('test', function () {
var browserArgs = helpers.parseBrowserArgs(argv).map(helpers.toCapitalCase);

if (process.env.TRAVIS) {
browserArgs = ['bs_chrome_56_mac_sierra'];
browserArgs = ['Chrome_travis_ci'];
}

if (argv.browserstack) {
Expand Down

0 comments on commit 53977e4

Please sign in to comment.