diff options
author | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-08-14 15:15:27 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-08-14 15:44:09 +0200 |
commit | 6186bda755f8e683cf91c560a76fd43870b8b4c1 (patch) | |
tree | c28c1ef1a9742ab049c9fe62031a9d2f5b4154db /travis/travis.sh | |
parent | 079aa085416f76b4d19fbaaaad1c05e2ea508ba9 (diff) |
Add Travis build script
Diffstat (limited to 'travis/travis.sh')
-rwxr-xr-x | travis/travis.sh | 9 |
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} + |