mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Only report coverage on travis build
This commit is contained in:
		
							parent
							
								
									edfa9569e7
								
							
						
					
					
						commit
						3a22828a2c
					
				@ -1,7 +1,7 @@
 | 
				
			|||||||
language: java
 | 
					language: java
 | 
				
			||||||
jdk: oraclejdk8
 | 
					jdk: oraclejdk8
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
- cd unleash-server && npm install && npm test
 | 
					- cd unleash-server && npm install && npm test-travis
 | 
				
			||||||
- cd .. && cd unleash-client-java && mvn test
 | 
					- cd .. && cd unleash-client-java && mvn test
 | 
				
			||||||
notifications:
 | 
					notifications:
 | 
				
			||||||
  hipchat:
 | 
					  hipchat:
 | 
				
			||||||
 | 
				
			|||||||
@ -19,7 +19,8 @@
 | 
				
			|||||||
    "scripts": {
 | 
					    "scripts": {
 | 
				
			||||||
        "start": "node server.js",
 | 
					        "start": "node server.js",
 | 
				
			||||||
        "start-dev": "NODE_ENV=local supervisor --ignore ./node_modules/,./public/js server.js",
 | 
					        "start-dev": "NODE_ENV=local supervisor --ignore ./node_modules/,./public/js server.js",
 | 
				
			||||||
        "test": "jshint server.js lib test && jsxhint public/js/*.jsx && mocha test test/* && npm run cover",
 | 
					        "test": "jshint server.js lib test && jsxhint public/js/*.jsx && mocha test test/*",
 | 
				
			||||||
 | 
					        "test-travis": "jshint server.js lib test && jsxhint public/js/*.jsx && mocha test test/* && npm run cover",
 | 
				
			||||||
        "tdd": "mocha --watch test test/*",
 | 
					        "tdd": "mocha --watch test test/*",
 | 
				
			||||||
        "test-bamboo-ci": "mocha test test/*",
 | 
					        "test-bamboo-ci": "mocha test test/*",
 | 
				
			||||||
        "cover": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
 | 
					        "cover": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user