summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..378cc3d9
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+sudo: required
+dist: trusty
+language: cpp
+compiler:
+ - gcc
+ - clang
+before_script:
+ - export JAVA_HOME=/usr/lib/jvm/java-8-oracle
+ - if `java -version`; then export BUILDJAVA=ON; fi
+script:
+ - mkdir build && cd build && cmake -DBUILDJAVA=$BUILDJAVA .. && make