2018-07-21 00:27:23 +08:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- 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:
|
2019-06-14 17:13:47 +08:00
|
|
|
# On OSX, run with default JDK only.
|
|
|
|
# - os: osx
|
|
|
|
# On Linux, run with specific JDKs only.
|
|
|
|
- os: linux
|
|
|
|
env: CUSTOM_JDK="oraclejdk8"
|
2022-02-21 17:10:00 +08:00
|
|
|
- name: Linux aarch64
|
|
|
|
dist: focal
|
|
|
|
arch: arm64-graviton2
|
|
|
|
group: edge
|
|
|
|
virt: vm
|
|
|
|
|
2018-07-21 00:27:23 +08:00
|
|
|
|
2019-06-14 19:31:11 +08:00
|
|
|
jdk:
|
2019-07-02 13:28:30 +08:00
|
|
|
- openjdk11
|
2019-06-14 19:31:11 +08:00
|
|
|
- openjdk8
|
|
|
|
|
2018-07-21 00:27:23 +08:00
|
|
|
before_install:
|
|
|
|
- echo 'MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m -XX:MaxPermSize=512m -XX:+BytecodeVerificationLocal"' >> ~/.mavenrc
|
|
|
|
- cat ~/.mavenrc
|
2019-06-14 19:31:11 +08:00
|
|
|
# - 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
|
2018-07-21 00:27:23 +08:00
|
|
|
|
|
|
|
script:
|
2018-11-08 15:39:07 +08:00
|
|
|
- mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
|
2020-11-05 10:12:06 +08:00
|
|
|
- mvn clean -Premove-test-data
|
2020-01-11 22:11:08 +08:00
|
|
|
- mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
|
2020-11-05 10:12:06 +08:00
|
|
|
- mvn clean -Premove-test-data
|
2021-04-23 18:36:02 +08:00
|
|
|
- mvn clean package -Pcit-test
|
2020-11-05 10:12:06 +08:00
|
|
|
- mvn clean -Premove-test-data
|
2021-04-23 18:36:02 +08:00
|
|
|
- mvn clean package -Pnit-test
|
2020-11-05 10:12:06 +08:00
|
|
|
- mvn clean -Premove-test-data
|
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
|