File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 7
7
- MOZ_XVFB=$(if [[ $TRAVIS_OS_NAME == "linux" ]]; then echo 1; fi)
8
8
matrix :
9
9
- NODE_VERSION="0.12"
10
- - NODE_VERSION="4" CHROME="nightly"
11
- - NODE_VERSION="stable" CHROME="nightly"
10
+ - NODE_VERSION="4"
11
+ - NODE_VERSION="stable"
12
12
before_install :
13
13
- rm -rf ~/.nvm
14
14
- git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`)
Original file line number Diff line number Diff line change @@ -131,20 +131,14 @@ suite('selenium', function() {
131
131
promises . push ( seleniumInit . downloadFirefoxNightly ( ) ) ;
132
132
133
133
if ( process . env . GCM_API_KEY ) {
134
- chromeBinaryPath = process . env . CHROME ;
135
- if ( chromeBinaryPath === 'nightly' ) {
136
- if ( process . platform === 'linux' ) {
137
- chromeBinaryPath = 'test_tools/chrome-linux/chrome' ;
138
- } else if ( process . platform === 'darwin' ) {
139
- chromeBinaryPath = 'test_tools/chrome-mac/Chromium.app/Contents/MacOS/Chromium' ;
140
- }
141
-
142
- promises . push ( seleniumInit . downloadChromiumNightly ( ) ) ;
143
- } else if ( chromeBinaryPath === 'all' ) {
144
- // TODO: Download Chromium release.
145
- chromeBinaryPath = childProcess . execSync ( 'which chromium-browser' ) . toString ( ) . replace ( '\n' , '' ) ;
134
+ if ( process . platform === 'linux' ) {
135
+ chromeBinaryPath = 'test_tools/chrome-linux/chrome' ;
136
+ } else if ( process . platform === 'darwin' ) {
137
+ chromeBinaryPath = 'test_tools/chrome-mac/Chromium.app/Contents/MacOS/Chromium' ;
146
138
}
147
139
140
+ promises . push ( seleniumInit . downloadChromiumNightly ( ) ) ;
141
+
148
142
promises . push ( seleniumInit . downloadChromeDriver ( ) ) ;
149
143
}
150
144
You can’t perform that action at this time.
0 commit comments