Skip to content

Commit 6065e51

Browse files
author
nfrasser
committed
Moved test runner file for better node compatibility
node 0.10 seems to be having trouble running the script from the correct directory
1 parent 833bd59 commit 6065e51

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ test
1717
bower.json
1818
gulpfile.js
1919
testem.json
20+
run-tests.sh

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ env:
77
global:
88
- secure: LhH+mMqOktTe6cIt97PGKBfgUjZM8vRd0qddyg61FSxg7a3WrHQoHE8WdRioJ9+DDzpu/NSTsHEUFUpGN+kSRw1UY4tsNLH6HoBQnqrNN4tVOeefudJpdeteOKZrJ8r8TaA/eO7sAgXO2T+RLJ8+qTbhx8FVZtLaCAgkrS0w9Qk=
99
- secure: Okwm1aAR3oo09AhHDsjFSq1UGlIUtWYYvYeoolJScC/UVFGMiK9oC4fzRtUHv3kXcnshDlcVDrr/Q5JL9Qx6E+tosPJp+tioaqE8X4IDbVk7PPs/ToOOEmWnGvxkgmfCGSDuneG8RVhILkhls3fbm0z+rRWlvJkjefeA96T6zps=
10-
script: ./test/run.sh
10+
script: ./run-tests.sh
1111
after_script: npm run coverage

test/run.sh renamed to run-tests.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
cd $(dirname "${BASH_SOURCE[0]}../")
2-
31
if [[ `echo $TRAVIS_BRANCH` = "master" ]]; then
42
# Run basic and SauceLabs tests
53
echo "Running complete test suite..."

0 commit comments

Comments
 (0)