.travis.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. language: java
  2. jdk:
  3. - oraclejdk8
  4. notification:
  5. email:
  6. recipients:
  7. - song_s@ctrip.com,zhanglea@ctrip.com
  8. on_success: always
  9. on_failure: always
  10. before_script:
  11. - echo "MAVEN_OPTS='-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m'" > ~/.mavenrc
  12. before_install:
  13. - pip install --user codecov
  14. after_success:
  15. - mvn clean test jacoco:report coveralls:report
  16. - codecov
  17. branches:
  18. only:
  19. - master
  20. env:
  21. global:
  22. - secure: "DYJkJ7ArGJuIyTJsmjvUAJRyUKXEaGFWYZFAGZq6vxbrMN3tThz7drfNhhvP2YE7hdS7YX7hZBWVQEnNR+pBN+ykQFx7TpLr311eEk2/Yy3G5qegeHMsgqYXfAp3FFpYlE6Kr3Dcf4kFSWtRi735kSo5oHicoaxbyWENgmKT+uQjYERKhDXEoenMaDpcf8WO8KARzxI1cXf69ECnYP2rzNOfkNW4IGjTcJnplXPZ9BNBRn3WfyPwEHlemETAMwJxJXolNM9qn1bDBTB/35yJrneQY/pYp9Q8PbQID2lNJu7PFKYaI9mvsKHUgxjbzsC29zlMY94pDr6sQtr7IA0dSuk+qO2tEqAStTwRI5JOcozLAslTMNnUn6HLvy0/Kkq1TL+JrIohoRD58F34SzjcnuB4w0/GCWGU4BMSbzPwHsgQZM4lkHDWv+w1OSwP3dgCFI/vYYr9xNV0zqTgyZ9ITkMZPL0wOh0DZ7Bxxm80wyHfJuRwywemMtzitgjPR4BKENbpcoGN4lcKWciksAuiyX+dedOPfGoOWfnIKh1g7yeVB84LMggCSad/9cqnYf2Sm8xSyVzNmyhSOy2Ocy40RDas2uHIK3/QPy56Le/t1LD2On/x1TZBIoSavedNYA5N54s/ZCDZOcepUMvlwtjgnx/SMjU85ZLKCcliPGdTWws="
  23. - "MAVEN_OPTS=-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m"
  24. addons:
  25. coverity_scan:
  26. project:
  27. name: "ctripcorp/apollo"
  28. description: "Build submitted via Travis CI"
  29. notification_email: song_s@ctrip.com,zhanglea@ctrip.com
  30. build_command_prepend: "mvn clean"
  31. build_command: "mvn -DskipTests=true compile"
  32. branch_pattern: master
  33. cache:
  34. directories:
  35. - $HOME/.m2