File tree 3 files changed +20
-18
lines changed
3 files changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,7 @@ before_script:
39
39
- ./lib/sauce/sauce_connect_block.sh
40
40
41
41
script :
42
- # - ./travis_build.sh
43
- - grunt
44
- - grunt test:ci
45
- - grunt test:e2e:ci
42
+ - ./travis_build.sh
46
43
47
44
after_success :
48
45
- grunt release
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ module.exports = function(grunt) {
138
138
configFile : "./test/protractor.conf.js"
139
139
} ,
140
140
singlerun : {
141
- keepAlive : false ,
142
141
options : {
142
+ keepAlive : false ,
143
143
args : {
144
144
seleniumPort : 4444 ,
145
145
baseUrl : 'http://localhost:9999' ,
@@ -148,8 +148,8 @@ module.exports = function(grunt) {
148
148
}
149
149
} ,
150
150
ci : {
151
- keepAlive : false ,
152
151
options : {
152
+ keepAlive : false ,
153
153
args : {
154
154
seleniumPort : 4444 ,
155
155
baseUrl : 'http://localhost:9999' ,
@@ -160,8 +160,8 @@ module.exports = function(grunt) {
160
160
}
161
161
} ,
162
162
auto : {
163
- keepAlive : true ,
164
163
options : {
164
+ keepAlive : true ,
165
165
args : {
166
166
seleniumPort : 4444 ,
167
167
baseUrl : 'http://localhost:9999' ,
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- if [ $JOB = " unit" ]; then
6
- grunt
7
- grunt test:ci
8
- grunt release
9
- elif [ $JOB = " e2e" ]; then
10
- # grunt clean build test:e2e --browsers=SL_Chrome
11
- grunt
12
- grunt test:e2e:ci
13
- else
14
- echo " Unknown job type. Please set JOB=unit or JOB=e2e."
15
- fi
5
+ # NOTE: Travis build matrix won't let us run something after ALL matrix jobs succeed, so we have to run serially (below)
6
+ # if [ $JOB = "unit" ]; then
7
+ # grunt
8
+ # grunt test:ci
9
+ # grunt release
10
+ # elif [ $JOB = "e2e" ]; then
11
+ # # grunt clean build test:e2e --browsers=SL_Chrome
12
+ # grunt
13
+ # grunt test:e2e:ci
14
+ # else
15
+ # echo "Unknown job type. Please set JOB=unit or JOB=e2e."
16
+ # fi
17
+
18
+ grunt
19
+ grunt test:ci
20
+ grunt test:e2e:ci
You can’t perform that action at this time.
0 commit comments