Skip to content

Commit

Permalink
1.更新travis
Browse files Browse the repository at this point in the history
2.更新pom
3.更新readme URL错误
4.添加sonar集成
  • Loading branch information
fartherp committed Jan 13, 2020
1 parent 3b742bc commit 25c61ea
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 342 deletions.
32 changes: 21 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
language: java

jdk:
- oraclejdk8
- openjdk-ea
- openjdk13
- openjdk12
- openjdk11
- openjdk8

services:
- docker

cache:
directories:
- $HOME/.m2

before_install:
- chmod +x mvnw

install: ./mvnw install -DskipTests=true -B -V
script: ./mvnw clean test -B
after_success:
- ./mvnw clean test jacoco:report coveralls:report -q -DrepoToken="${COVERALLS_TOKEN}" -Dmaven.test.redirectTestOutputToFile=true
- chmod -R 777 ./travis/after_success.sh
- ./travis/after_success.sh

notifications:
email: false

sudo: false

cache:
directories:
- $HOME/.m2

env:
global:
- secure: "Kj1H42vM5f0cbNHF4DBlo+oXM5f+3mGRcwkAKkpQiaO0ZtvQlOyJLBz1WA04CevVSk0qTOyPfH1sjza9wz7mZS0rwsv9fF9Vqf5CYZQSqt3VsfQVN6eS9ZQcO3MF33q1bDkZ4uIFjCY9er0gm0OKT61tmAmdbr7CsAMc80NidI9XCTLNoN+1qYXTcOIzDcyFD+ZNT3DvCw3CQRLWm6tnKD/OKflWM+q4Ck4rPt9wLcrpicA3cxUDRj25m45BV6rBlMDWCXvSeQYBbXoqeZ2WxICtDYeMVVCfpsTTsJOMK1gWRAY1ca6Ri2u81Rc3Nm5GYxsRzBrhWZZec4uu7bL2c/Km8gvbjaU7lnhZzWtFRSdGThEuyYf2PWIhnuDbWTSljMY0PFFRu/WekbfuoIVXcjCZVGXVN+CTemWWEr5S/mcnRZe6/k1NTHeQKfENKx3Xlein6C3hm+u3/xkknDXDmjiy9GxBwNzbInqls1RmqZYt23WMYkpA71MB6wgoDbMLHtt2CPuhOyXk3TxP2BoR2uQPX/hanVAbLmjQssWtc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xdq7MAHoSUrbxQJFHLa9b2LbKTXfGX0vQlkxgFP47mOuUUWl/spPFBDaYaa9UGi3xdJOq4qL/CeHxCY4zxmsOpzTOcTt1zoRs6JwuiIk/YIgdKMIGR0jOWsOOINCrPFlnbhIkckxL/stH2Pc/boYLQrbyyEc3PrQBOJrSY5m0efbdG45ny61CC0GGv8/Siidb4t4HUCnN5nxBjCwBuvqWqbZYxU0NW8rWsG9Ytz0/rAQjTJgDxfxB6euim9K8NVnIove8UI0QVoLzqs3AY4LM6bnRcSKLKyzcn038WG+ziJLdW0YDpkyZTZaf3nktYZ9oJy7//2XGWxQZE4NUtliBAv5YqKqLFdnUFeMuL2ycosmny5eyLHAkzR3a02+OEKEEc6PXbgDCRUnEWRwG/NLiqmUQjTPoqKsfwTphdRCxTgrPAf+HLOHZ+psKnQqWQUiWDsB8GzC04w="
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/fartherp/framework-spring-boot.svg?branch=master)](https://travis-ci.org/fartherp/framework-spring-boot)
[![Coverage Status](https://coveralls.io/repos/github/fartherp/framework-spring-boot/badge.svg?branch=master)](https://coveralls.io/github/fartherp/framework-spring-boot?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.fartherp.spring.boot/framework-spring-boot-starter/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.fartherp.spring.boot/framework-spring-boot-starter/)
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.github.fartherp.spring.boot/framework-spring-boot-starter.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/github/fartherp/spring/boot/framework-spring-boot-starter)
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.github.fartherp.spring.boot/framework-spring-boot-starter.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/github/fartherp/spring/boot/framework-spring-boot-starter/)
[![GitHub release](https://img.shields.io/github/release/fartherp/framework-spring-boot.svg)](https://github.com/fartherp/framework-spring-boot/releases)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Project Stats](https://www.openhub.net/p/framework-spring-boot/widgets/project_thin_badge.gif)](https://www.openhub.net/p/framework-spring-boot)
Expand Down
6 changes: 3 additions & 3 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<!-- 每行字符数 -->
<module name="LineLength">
<property name="max" value="120"/>
</module>
<!--<module name="LineLength">-->
<!--<property name="max" value="120"/>-->
<!--</module>-->
<!-- Checks for long methods and constructors. max default 150行. -->
<module name="MethodLength"/>
<!-- Checks the number of parameters of a method or constructor. max default 7个. -->
Expand Down
Loading

0 comments on commit 25c61ea

Please sign in to comment.