File tree 3 files changed +14
-10
lines changed
3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 35
35
CHANNEL=dev
36
36
BROWSERS=DartiumWithWebPlatform,SL_Chrome
37
37
global :
38
- - FIREFOX_VERSION="30.0"
39
- - CHROME_VERSION="35.0"
40
38
- secure : AKoqpZ699egF0i4uT/FQ5b4jIc0h+KVbhtVCql0uFxwFIl2HjOYgDayrUCAf6USfpW0LghZxJJhBamWOl/505eNSe9HvEd8JLg/to+1Fo9xi9llsu5ehmNH31/5pue4EvsrVuEap1qqL6/BNwI2cAryayU0p5tV0g8gL5h4IxG8=
41
39
- LOGS_DIR=/tmp/angular-build/logs
40
+ # Sauce
42
41
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
43
42
- SAUCE_USERNAME=angular-ci
44
43
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
44
+ # E2E tests
45
+ - SELENIUM_VERSION="2.42"
46
+ - CHROMEDRIVER_VERSION="2.10"
45
47
46
48
branches :
47
49
except :
Original file line number Diff line number Diff line change 73
73
74
74
75
75
install_deps () {(
76
- SELENIUM_VER=" 2.42"
77
- SELENIUM_ZIP=" selenium-server-standalone-$SELENIUM_VER .0.jar"
78
- CHROMEDRIVER_VER=" 2.10"
76
+ SELENIUM_ZIP=" selenium-server-standalone-$SELENIUM_VERSION .0.jar"
77
+
79
78
mkdir -p e2e_bin && cd e2e_bin
80
79
if [[ ! -e " $SELENIUM_ZIP " ]]; then
81
- curl -O " http://selenium-release.storage.googleapis.com/$SELENIUM_VER /$SELENIUM_ZIP "
80
+ curl -O " http://selenium-release.storage.googleapis.com/$SELENIUM_VERSION /$SELENIUM_ZIP "
82
81
fi
83
82
if [[ ! -e " $CHROMEDRIVER_ZIP " ]]; then
84
- curl -O " http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VER /$CHROMEDRIVER_ZIP "
83
+ curl -O " http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION /$CHROMEDRIVER_ZIP "
85
84
unzip " $CHROMEDRIVER_ZIP "
86
85
fi
87
86
)}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Wait for Connect to be ready before exiting
4
+ printf " Connecting to Sauce."
4
5
while [ ! -f $BROWSER_PROVIDER_READY_FILE ]; do
5
- echo " ..." ;
6
- sleep .5; # dart2js takes longer than the travis 10 min timeout to complete
7
- done
6
+ printf " ."
7
+ # dart2js takes longer than the travis 10 min timeout to complete
8
+ sleep .5
9
+ done
10
+ echo " Connected"
You can’t perform that action at this time.
0 commit comments