aboutsummaryrefslogtreecommitdiffstats
path: root/test.sh
diff options
context:
space:
mode:
authorNik Nyby <nikolas@gnu.org>2015-02-06 01:55:11 -0500
committerNik Nyby <nikolas@gnu.org>2015-02-06 02:28:27 -0500
commit0055bacf50009bd365e76a7216a98cdc10ac0eb9 (patch)
treef42cfe018ac3cf06242fb3e67efaef44672c9ca7 /test.sh
parent73f344f4275b7e02933751eb8d64ff081af3a0e8 (diff)
downloadlibrejsxul-0055bacf50009bd365e76a7216a98cdc10ac0eb9.tar.lz
librejsxul-0055bacf50009bd365e76a7216a98cdc10ac0eb9.tar.xz
librejsxul-0055bacf50009bd365e76a7216a98cdc10ac0eb9.zip
Add Travis
Diffstat (limited to 'test.sh')
-rwxr-xr-x[-rw-r--r--]test.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index a487675..2886c95 100644..100755
--- a/test.sh
+++ b/test.sh
@@ -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