Browse Source

fixed travlis

agapple 6 years ago
parent
commit
b488ca02d8
1 changed files with 22 additions and 1 deletions
  1. 22 1
      .travlis.yml

+ 22 - 1
.travlis.yml

@@ -1,2 +1,23 @@
 language: java
-jdk: oraclejdk8
+sudo: false # faster builds
+
+jdk:
+  - openjdk11
+  - oraclejdk11
+  - openjdk8
+  - oraclejdk8
+
+cache:
+  directories:
+    - $HOME/.m2
+
+install: true
+
+script:
+  - travis_wait 30 ./mvnw clean install -DskipTests=true -Dcheckstyle.skip=true -Drat.skip=true -Dmaven.javadoc.skip=true
+
+after_success:
+  - bash <(curl -s https://codecov.io/bash)
+
+after_failure:
+  - if [ -f canal.log ]; then echo "------TAIL of canal.log------"; tail -n 1000 canal.log; echo "------END of canal.log------"; fi