提交 1acb1de5 编写于 作者: J Jason Song

remove coverity and coveralls to speed up the ci

上级 251cad3f
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: build
name: github-ci
on:
push:
......@@ -31,7 +31,7 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Build SDK with JDK 7
if: matrix.jdk == '7'
run: mvn clean compile -pl apollo-client,apollo-mockserver,apollo-openapi -am
run: mvn clean compile -pl apollo-client,apollo-mockserver,apollo-openapi -am -Dmaven.gitcommitid.skip=true
- name: Full Build
if: matrix.jdk != '7'
run: mvn clean compile
run: mvn clean compile -Dmaven.gitcommitid.skip=true
......@@ -4,18 +4,23 @@ jdk:
notification:
email:
recipients:
- song_s@ctrip.com,zhanglea@ctrip.com
on_success: always
- nobodyiam@gmail.com,lepdou@gmail.com
on_success: change
on_failure: always
before_install:
- pip install --user codecov
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
before_script:
- echo "MAVEN_OPTS='-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m'" > ~/.mavenrc
before_install:
- pip install --user codecov
script:
- mvn clean test jacoco:report
after_success:
- mvn clean test jacoco:report coveralls:report
- codecov
branches:
......@@ -24,19 +29,8 @@ branches:
env:
global:
- secure: "DYJkJ7ArGJuIyTJsmjvUAJRyUKXEaGFWYZFAGZq6vxbrMN3tThz7drfNhhvP2YE7hdS7YX7hZBWVQEnNR+pBN+ykQFx7TpLr311eEk2/Yy3G5qegeHMsgqYXfAp3FFpYlE6Kr3Dcf4kFSWtRi735kSo5oHicoaxbyWENgmKT+uQjYERKhDXEoenMaDpcf8WO8KARzxI1cXf69ECnYP2rzNOfkNW4IGjTcJnplXPZ9BNBRn3WfyPwEHlemETAMwJxJXolNM9qn1bDBTB/35yJrneQY/pYp9Q8PbQID2lNJu7PFKYaI9mvsKHUgxjbzsC29zlMY94pDr6sQtr7IA0dSuk+qO2tEqAStTwRI5JOcozLAslTMNnUn6HLvy0/Kkq1TL+JrIohoRD58F34SzjcnuB4w0/GCWGU4BMSbzPwHsgQZM4lkHDWv+w1OSwP3dgCFI/vYYr9xNV0zqTgyZ9ITkMZPL0wOh0DZ7Bxxm80wyHfJuRwywemMtzitgjPR4BKENbpcoGN4lcKWciksAuiyX+dedOPfGoOWfnIKh1g7yeVB84LMggCSad/9cqnYf2Sm8xSyVzNmyhSOy2Ocy40RDas2uHIK3/QPy56Le/t1LD2On/x1TZBIoSavedNYA5N54s/ZCDZOcepUMvlwtjgnx/SMjU85ZLKCcliPGdTWws="
- "MAVEN_OPTS=-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m"
addons:
coverity_scan:
project:
name: "ctripcorp/apollo"
description: "Build submitted via Travis CI"
notification_email: song_s@ctrip.com,zhanglea@ctrip.com
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true compile"
branch_pattern: master
cache:
directories:
- $HOME/.m2
......@@ -5,10 +5,6 @@
[![Build Status](https://travis-ci.org/ctripcorp/apollo.svg?branch=master)](https://travis-ci.org/ctripcorp/apollo)
[![GitHub release](https://img.shields.io/github/release/ctripcorp/apollo.svg)](https://github.com/ctripcorp/apollo/releases)
[![Maven Central Repo](https://img.shields.io/maven-central/v/com.ctrip.framework.apollo/apollo.svg)](https://mvnrepository.com/artifact/com.ctrip.framework.apollo/apollo-client)
[![Coverage Status](https://coveralls.io/repos/github/ctripcorp/apollo/badge.svg?branch=master)](https://coveralls.io/github/ctripcorp/apollo?branch=master)
<a href="https://scan.coverity.com/projects/ctripcorp-apollo">
<img alt="Coverity Scan Build Status" src="https://img.shields.io/coverity/scan/8244.svg"/>
</a>
[![codecov.io](https://codecov.io/github/ctripcorp/apollo/coverage.svg?branch=master)](https://codecov.io/github/ctripcorp/apollo?branch=master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
......
......@@ -552,7 +552,7 @@
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.2.0</version>
<version>2.2.6</version>
<executions>
<execution>
<goals>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册