diff options
author | Nik Nyby <nikolas@gnu.org> | 2015-02-06 01:55:11 -0500 |
---|---|---|
committer | Nik Nyby <nikolas@gnu.org> | 2015-02-06 02:28:27 -0500 |
commit | 0055bacf50009bd365e76a7216a98cdc10ac0eb9 (patch) | |
tree | f42cfe018ac3cf06242fb3e67efaef44672c9ca7 /test.sh | |
parent | 73f344f4275b7e02933751eb8d64ff081af3a0e8 (diff) | |
download | librejsxul-0055bacf50009bd365e76a7216a98cdc10ac0eb9.tar.lz librejsxul-0055bacf50009bd365e76a7216a98cdc10ac0eb9.tar.xz librejsxul-0055bacf50009bd365e76a7216a98cdc10ac0eb9.zip |
Add Travis
Diffstat (limited to 'test.sh')
-rwxr-xr-x[-rw-r--r--] | test.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,12 @@ #!/bin/bash -cfx test -p ~/.mozilla/firefox/profiles/httpsEverywhere | grep -v '^console' +if [ ! -f "addon-sdk/bin/activate" ]; then + die "Addon SDK not available. Run git submodule update." +fi + +pushd addon-sdk +source bin/activate +popd + +echo "Running tests" +cfx test --verbose |