Blame | Last modification | View Log | RSS feed
#!/bin/bash -xif [ "$TEST_SUITE" == "unit" ]; then./node_modules/.bin/karma start --single-run --browsers PhantomJSelif [ "$TRAVIS_SECURE_ENV_VARS" == "true" -a "$TEST_SUITE" == "integration" ]; thenstatic -p 8888 &sleep 3# integration tests are flaky, don't let them fail the build./node_modules/mocha/bin/mocha --harmony -R spec ./test/integration/test.js || trueelseecho "Not running any tests"fi