2018-07-21 00:27:23 +08:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
2018-09-26 20:19:40 +08:00
|
|
|
- xchaos8@126.com
|
2018-07-21 00:27:23 +08:00
|
|
|
- nacos_dev@linux.alibaba.com
|
|
|
|
- dev-nacos@googlegroups.com
|
2018-10-19 16:09:21 +08:00
|
|
|
- mw_configcenter@list.alibaba-inc.com
|
2018-07-21 00:27:23 +08:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
|
|
|
|
language: java
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# On OSX, run with default JDK only.
|
|
|
|
# - os: osx
|
|
|
|
# On Linux, run with specific JDKs only.
|
|
|
|
- os: linux
|
|
|
|
env: CUSTOM_JDK="oraclejdk8"
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- echo 'MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m -XX:MaxPermSize=512m -XX:+BytecodeVerificationLocal"' >> ~/.mavenrc
|
|
|
|
- cat ~/.mavenrc
|
|
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
|
|
|
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi
|
|
|
|
|
|
|
|
script:
|
2018-11-08 15:39:07 +08:00
|
|
|
- mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
|
2018-10-25 19:06:03 +08:00
|
|
|
- mvn -Prelease-nacos clean install -U
|
|
|
|
- mvn clean package -Pit-test
|
2018-07-21 00:27:23 +08:00
|
|
|
after_success:
|
2018-10-25 19:06:03 +08:00
|
|
|
- mvn clean package -Pit-test
|
2018-07-21 00:27:23 +08:00
|
|
|
- mvn sonar:sonar -Psonar-apache
|