.travis.yml 653 B

123456789101112131415161718192021222324252627282930313233343536
  1. language: java
  2. jdk:
  3. - openjdk8
  4. notification:
  5. email:
  6. recipients:
  7. - nobodyiam@gmail.com,lepdou@gmail.com
  8. on_success: change
  9. on_failure: always
  10. before_install:
  11. - pip install --user codecov
  12. install:
  13. - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
  14. before_script:
  15. - echo "MAVEN_OPTS='-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m'" > ~/.mavenrc
  16. script:
  17. - mvn clean test jacoco:report
  18. after_success:
  19. - codecov
  20. branches:
  21. only:
  22. - master
  23. env:
  24. global:
  25. - "MAVEN_OPTS=-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m"
  26. cache:
  27. directories:
  28. - $HOME/.m2