File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " 4"
3
+ - " 4"
4
4
sudo : false
5
5
before_script :
6
- - wget http://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip
7
- - unzip BrowserStackLocal-linux-x64.zip
8
- - " ./BrowserStackLocal $BROWSER_STACK_ACCESS_KEY localhost,8001,0 > /dev/null &"
9
- - sleep 10
6
+ - wget http://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip
7
+ - unzip BrowserStackLocal-linux-x64.zip
8
+ - " ./BrowserStackLocal $BROWSER_STACK_ACCESS_KEY localhost,8001,0 > /dev/null &"
9
+ - sleep 10
10
+ after_success :
11
+ - cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
10
12
branches :
11
13
except :
12
14
- latest
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ module.exports = function (config) {
99
99
100
100
if ( process . env . USE_CLOUD ) {
101
101
config . browsers = Object . keys ( customLaunchers )
102
- config . reporters = [ 'dots' ]
102
+ config . reporters = [ 'dots' , 'coverage' ]
103
103
config . browserDisconnectTimeout = 10000
104
104
config . browserDisconnectTolerance = 3
105
105
config . browserNoActivityTimeout = 30000
Original file line number Diff line number Diff line change 36
36
"babel-eslint" : " ^3.1.23" ,
37
37
"babel-loader" : " ^5.0.0" ,
38
38
"bundle-loader" : " ^0.5.2" ,
39
+ "codecov.io" : " ^0.1.6" ,
39
40
"css-loader" : " ^0.19.0" ,
40
41
"eslint" : " 1.4.0" ,
41
42
"eslint-plugin-react" : " 3.3.2" ,
48
49
"karma" : " ^0.13.13" ,
49
50
"karma-browserstack-launcher" : " ^0.1.4" ,
50
51
"karma-chrome-launcher" : " ^0.2.0" ,
52
+ "karma-coverage" : " ^0.5.3" ,
51
53
"karma-firefox-launcher" : " ^0.1.6" ,
52
54
"karma-mocha" : " ^0.2.0" ,
53
55
"karma-mocha-reporter" : " ^1.1.1" ,
You can’t perform that action at this time.
0 commit comments