Skip to content

Commit

Permalink
fix ci failed to download. (sofastack#700)
Browse files Browse the repository at this point in the history
* upgrade http protocol to https.

* fix download forbidden.

* accelerate integration test builds.

* accelerate integration test builds.

* add .codecov.yml

* adjust codecov threshold.

* add maven install -U parameter.
  • Loading branch information
zonghaishang authored and JervyShi committed Jun 28, 2019
1 parent a7bceb0 commit b4ec327
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 140 deletions.
6 changes: 6 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
threshold: 0.1%
patch: off
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ dist: trusty
jdk:
- oraclejdk8

cache:
directories:
- $HOME/.m2

before_install:
- echo "Downloading Maven 3.2.5"
&& wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
&& unzip -q apache-maven-3.2.5-bin.zip
&& export M2_HOME=$PWD/apache-maven-3.2.5
&& export PATH=$M2_HOME/bin:$PATH
&& cp ./tools/ci/.travis.settings.xml $HOME/.m2/settings.xml
&& mvn -version

install:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
<id>ci-install</id>
<properties>
<skipTests>true</skipTests>
<maven.javadoc.skip>false</maven.javadoc.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
<module.jacoco.skip>true</module.jacoco.skip>
</properties>
</profile>
Expand Down
138 changes: 0 additions & 138 deletions tools/ci/.travis.settings.xml

This file was deleted.

0 comments on commit b4ec327

Please sign in to comment.