diff --git a/.travis.yml b/.travis.yml index 09b0801..c3be564 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,6 @@ env: - REACT_ROUTER_VERSION=4 script: - npm run lint - - runTests.sh + - ./runTests.sh after_success: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js diff --git a/runTests.sh b/runTests.sh index a392351..350e332 100755 --- a/runTests.sh +++ b/runTests.sh @@ -6,11 +6,9 @@ rm -rf node_modules/history if [ "$REACT_ROUTER_VERSION" = "3" ]; then npm install react-router@3.0.2 npm install react-router-redux@4.0.8 - # npm run test:cov -- test/rrv3-test.js - npm run test -- test/rrv3-test.js + npm run test:cov -- test/rrv3-test.js elif [ "$REACT_ROUTER_VERSION" = "4" ]; then npm install react-router@4.0.0 npm install history@4.6.1 - # npm run test:cov -- test/rrv4-test.js - npm run test -- test/rrv4-test.js + npm run test:cov -- test/rrv4-test.js fi