Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel faigon <github.2009@yendor.com>2014-08-24 01:47:14 +0400
committerariel faigon <github.2009@yendor.com>2014-08-24 01:47:14 +0400
commitc04ba05cb392ed6ebf2606633410b98bec8581df (patch)
tree5b5416239e951912733afbcca129ed3ef1c77769
parent432476b8fcaa15d931927b2bd4d423209d5fe619 (diff)
Hack: don't bother running daemon-test.sh on travis hosts
-rwxr-xr-xtest/daemon-test.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/daemon-test.sh b/test/daemon-test.sh
index d6323ed3..2a0f4295 100755
--- a/test/daemon-test.sh
+++ b/test/daemon-test.sh
@@ -2,6 +2,17 @@
# -- vw daemon test
#
+# This is a ugly hack:
+# Travis doesn't like this test, possibly because of firewall rules
+# on the travis-ci env, so don't bother running it on travis machines.
+HOSTNAME=`hostname`
+case $HOSTNAME in
+ *travis*)
+ echo "travis host: $HOSTNAME detected, skipping test: $0"
+ exit 0
+ ;;
+esac
+
export PATH="vowpalwabbit:../vowpalwabbit:${PATH}"
# The VW under test
VW=`which vw`