File tree 3 files changed +11
-5
lines changed 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ install:
40
40
41
41
script :
42
42
- |
43
- - yarn test &&
44
- yarn test:node &&
43
+ - yarn build &&
44
+ npx ng test --watch=false --browsers=ChromeHeadless &&
45
45
node tools/run-typings-test.js &&
46
46
bash ./test/ng-build/build.sh
Original file line number Diff line number Diff line change @@ -24,8 +24,14 @@ module.exports = function (config) {
24
24
colors : true ,
25
25
logLevel : config . LOG_INFO ,
26
26
autoWatch : true ,
27
- browsers : [ 'Chrome' ] ,
27
+ browsers : [ 'Chrome' , 'ChromeHeadless' ] ,
28
28
singleRun : false ,
29
- restartOnFileChange : true
29
+ restartOnFileChange : true ,
30
+ customLaunchers : {
31
+ ChromeHeadlessTravis : {
32
+ base : 'ChromeHeadless' ,
33
+ flags : [ '--no-sandbox' ]
34
+ }
35
+ } ,
30
36
} ) ;
31
37
} ;
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ apt-get -y update
5
5
apt-get -y install google-chrome-stable
6
6
7
7
# TODO parallelize these
8
- npx karma start --single-run --browsers ChromeHeadlessTravis --reporters mocha &&
8
+ npx ng test --watch=false --browsers=ChromeHeadless &&
9
9
node tools/run-typings-test.js &&
10
10
bash ./test/ng-build/build.sh
You can’t perform that action at this time.
0 commit comments