Now it works

This commit is contained in:
Sulka Haro
2017-08-29 23:29:07 +03:00
parent caae86111b
commit e31ac8f5cf
+3 -3
View File
@@ -30,7 +30,7 @@ all: test
coverage:
NODE_ENV=test ${MONGO_SETTINGS} \
${ISTANBUL} cover ${MOCHA} -t 30000 -- -R tap ${TESTS}
${ISTANBUL} cover ${MOCHA} --timeout 30000 -- -R tap ${TESTS}
report:
test -f ${ANALYZED} && \
@@ -41,11 +41,11 @@ report:
YOURPACKAGE_COVERAGE=1 ./node_modules/codacy-coverage/bin/codacy-coverage.js) || echo "NO COVERAGE"
test:
${MONGO_SETTINGS} ${MOCHA} -t 30000 -R tap ${TESTS}
${MONGO_SETTINGS} ${MOCHA} --timeout 30000 -R tap ${TESTS}
travis:
NODE_ENV=test ${MONGO_SETTINGS} \
${ISTANBUL} cover ${MOCHA} -t 30000 --report lcovonly -- -R tap ${TESTS}
${ISTANBUL} cover ${MOCHA} --report lcovonly -- --timeout 30000 -R tap ${TESTS}
docker_release:
# Get the version from the package.json file