Skip to content

Commit

Permalink
Moved test runner file for better node compatibility
Browse files Browse the repository at this point in the history
node 0.10 seems to be having trouble running the script from the
correct directory
  • Loading branch information
nfrasser committed Jun 7, 2015
1 parent 833bd59 commit 6065e51
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ test
bower.json
gulpfile.js
testem.json
run-tests.sh
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ env:
global:
- secure: LhH+mMqOktTe6cIt97PGKBfgUjZM8vRd0qddyg61FSxg7a3WrHQoHE8WdRioJ9+DDzpu/NSTsHEUFUpGN+kSRw1UY4tsNLH6HoBQnqrNN4tVOeefudJpdeteOKZrJ8r8TaA/eO7sAgXO2T+RLJ8+qTbhx8FVZtLaCAgkrS0w9Qk=
- secure: Okwm1aAR3oo09AhHDsjFSq1UGlIUtWYYvYeoolJScC/UVFGMiK9oC4fzRtUHv3kXcnshDlcVDrr/Q5JL9Qx6E+tosPJp+tioaqE8X4IDbVk7PPs/ToOOEmWnGvxkgmfCGSDuneG8RVhILkhls3fbm0z+rRWlvJkjefeA96T6zps=
script: ./test/run.sh
script: ./run-tests.sh
after_script: npm run coverage
2 changes: 0 additions & 2 deletions test/run.sh → run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
cd $(dirname "${BASH_SOURCE[0]}../")

if [[ `echo $TRAVIS_BRANCH` = "master" ]]; then
# Run basic and SauceLabs tests
echo "Running complete test suite..."
Expand Down

0 comments on commit 6065e51

Please sign in to comment.