aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornuex <[email protected]>2014-03-06 14:21:39 -0500
committernuex <[email protected]>2014-03-06 14:21:39 -0500
commit96949363d301df5b120c717b539e73b7020edc68 (patch)
tree77b459fb7c8438a5c1d213952d39cad6177db8f8
parent6c15a9e48149aff384b04527535fbc4dadd44d09 (diff)
downloadrelx-96949363d301df5b120c717b539e73b7020edc68.tar.gz
relx-96949363d301df5b120c717b539e73b7020edc68.tar.bz2
relx-96949363d301df5b120c717b539e73b7020edc68.zip
unset REBAR target when building on travis; ensure latest rebar
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4d94cc7..28a35d5 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,11 @@ ifeq ($(REBAR),)
REBAR=$(CURDIR)/rebar
endif
+# Unset rebar when building on Travis
+ifeq ($(TRAVIS),true)
+REBAR=""
+endif
+
# =============================================================================
# Handle version discovery
# =============================================================================