summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahoo-inc.com>2017-08-14 15:15:27 +0200
committerBjørn Christian Seime <bjorncs@yahoo-inc.com>2017-08-14 15:44:09 +0200
commit6186bda755f8e683cf91c560a76fd43870b8b4c1 (patch)
treec28c1ef1a9742ab049c9fe62031a9d2f5b4154db /.travis.yml
parent079aa085416f76b4d19fbaaaad1c05e2ea508ba9 (diff)
Add Travis build script
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
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
+