nacos/.travis.yml

47 lines
1.2 KiB
YAML
Raw Normal View History

2018-07-21 00:27:23 +08:00
notifications:
email:
recipients:
- dev-nacos@googlegroups.com
- 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"
- 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
- mvn clean -Premove-test-data
2020-01-11 22:11:08 +08:00
- mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
- mvn clean -Premove-test-data
2021-04-23 18:36:02 +08:00
- mvn clean package -Pcit-test
- mvn clean -Premove-test-data
2021-04-23 18:36:02 +08:00
- mvn clean package -Pnit-test
- 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