Skip to content

Commit

Permalink
Changing test --ci option to use standard --single-run
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabriskie committed Jul 17, 2015
1 parent 1a13e3c commit c10754d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tasks/test
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
#!/bin/bash

CI=""
if [ "$1" == "--ci" ]; then
CI="--single-run"
fi

eslint=$RACKT_PATH/node_modules/.bin/eslint
karma=$RACKT_PATH/node_modules/.bin/karma

$eslint -c $RACKT_PATH/.eslintrc lib examples && \
NODE_ENV=test $karma start $RACKT_PATH/karma.conf.js "$@" "$CI"
NODE_ENV=test $karma start $RACKT_PATH/karma.conf.js "$@"

0 comments on commit c10754d

Please sign in to comment.