diff options
author | Bjørn Christian Seime <bjorn.christian@seime.no> | 2017-08-15 10:41:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 10:41:50 +0200 |
commit | 5dc7da9328feeafc92efcaedabb1b5d76826ab9c (patch) | |
tree | 69d13e6dd460b4b8cc67d0de80c5fdae31a719ed /.travis.yml | |
parent | a990f97e7d7040d84f1c9455be9768b320219f62 (diff) | |
parent | 6186bda755f8e683cf91c560a76fd43870b8b4c1 (diff) |
Merge pull request #3100 from vespa-engine/bjorncs/travis
Add Travis build script
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..6fdb89af4e0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +sudo: required + +services: + - docker + +env: + - PLATFORM_LANGUAGE=cpp + - PLATFORM_LANGUAGE=java + +cache: + timeout: 900 + directories: + - $HOME/.m2 + - $HOME/.ccache + +before_cache: + - rm -rf /root/.m2/repository/com/yahoo + - rm -rf /root/.m2/repository/simple/dummy-persistence + +install: true + +language: generic + +script: sh ./travis/travis.sh $PLATFORM_LANGUAGE + |