aboutsummaryrefslogtreecommitdiffstats
path: root/travis/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis/travis.sh')
-rwxr-xr-xtravis/travis.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/travis/travis.sh b/travis/travis.sh
new file mode 100755
index 00000000000..f64affbcbb0
--- /dev/null
+++ b/travis/travis.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+set -e
+
+PLATFORM_LANGUAGE=$1
+DOCKER_IMAGE=vespaengine/vespa-dev:latest
+docker run --rm -v ${HOME}/.m2:/root/.m2 -v ${HOME}/.ccache:/root/.ccache -v $(pwd):/source \
+ --entrypoint /source/travis/travis-build-${PLATFORM_LANGUAGE}.sh ${DOCKER_IMAGE}
+