added basic travis ci config for testing it
authorChristian Femers <femers@in.tum.de>
Thu, 24 Oct 2019 21:27:15 +0000 (23:27 +0200)
committerChristian Femers <femers@in.tum.de>
Thu, 24 Oct 2019 21:27:15 +0000 (23:27 +0200)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..141279a
--- /dev/null
@@ -0,0 +1,35 @@
+sudo: false 
+language: java
+
+jdk:
+  - openjdk11
+
+# Cache downloaded dependencies and plugins between builds.
+# To keep cache across branches add 'key: "$CI_JOB_NAME"'
+cache:
+  directories:
+    - $HOME/.m2
+
+# stages:
+#   - name: clean-verify
+
+env:
+  global:
+    - MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
+
+
+script:
+  - mvn $MAVEN_CLI_OPTS clean verify
+# TODO!!
+# jobs:
+#   include:
+#     - stage: clean-verify
+#       if: branch NOT IN (master)
+#       name: Development Build
+#       script:
+#         - mvn $MAVEN_CLI_OPTS clean verify
+#     - stage: clean-verify
+#       if: branch IN (master)
+#       name: Release Build
+#       script:
+#         - mvn $MAVEN_CLI_OPTS clean verify
\ No newline at end of file