File tree 4 files changed +1046
-554
lines changed
4 files changed +1046
-554
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,6 @@ language: node_js
4
4
node_js :
5
5
- ' 10.14.2'
6
6
before_install :
7
- - export CHROME_BIN=/usr/bin/google-chrome
8
- - export DISPLAY=:99.0
9
- - sh -e /etc/init.d/xvfb start
10
- - sudo apt-get update
11
- - sudo apt-get install -y libappindicator1 fonts-liberation
12
- - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
13
- - sudo dpkg -i google-chrome*.deb
14
7
after_script :
15
8
- npm install -g codeclimate-test-reporter
16
9
- codeclimate-test-reporter < ./coverage/lcov.info
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ module.exports = function(config) {
2
2
var configuration = {
3
3
basePath : '' ,
4
4
customLaunchers : {
5
- Chrome_travis_ci : {
6
- base : 'Chrome' ,
7
- flags : [ '--no-sandbox' ]
8
- }
9
5
} ,
10
6
coverageReporter : {
11
7
type : 'lcovonly' ,
@@ -25,7 +21,7 @@ module.exports = function(config) {
25
21
'karma-coverage' ,
26
22
'karma-requirejs' ,
27
23
'karma-jasmine' ,
28
- 'karma-chrome -launcher'
24
+ 'karma-jsdom -launcher'
29
25
] ,
30
26
preprocessors : {
31
27
'./build/**/*.js' : 'coverage'
@@ -35,15 +31,11 @@ module.exports = function(config) {
35
31
colors : true ,
36
32
logLevel : config . LOG_ERROR ,
37
33
autoWatch : false ,
38
- browsers : [ 'Chrome ' ] ,
34
+ browsers : [ 'jsdom ' ] ,
39
35
singleRun : true ,
40
36
concurrency : Infinity
41
37
} ;
42
38
43
- if ( process . env . TRAVIS ) {
44
- configuration . browsers = [ 'Chrome_travis_ci' ] ;
45
- }
46
-
47
39
if ( process . argv . indexOf ( '-w' ) >= 0 ) {
48
40
configuration . singleRun = false ;
49
41
configuration . autoWatch = true ;
You can’t perform that action at this time.
0 commit comments