Browse Source

修改覆盖率配置

zhouhao 7 years ago
parent
commit
9d914098ff
2 changed files with 11 additions and 12 deletions
  1. 3 1
      .travis.yml
  2. 8 11
      pom.xml

+ 3 - 1
.travis.yml

@@ -2,4 +2,6 @@ language: java
 jdk: oraclejdk8
 sudo: false
 install: false
-script: mvn cobertura:cobertura coveralls:report
+#script: mvn test
+after_success:
+  - mvn clean cobertura:cobertura coveralls:report

+ 8 - 11
pom.xml

@@ -184,9 +184,6 @@
                 <groupId>org.eluder.coveralls</groupId>
                 <artifactId>coveralls-maven-plugin</artifactId>
                 <version>4.3.0</version>
-                <configuration>
-                    <repoToken>cWL9JBVesOJatx690o81AkOtujERogRXv</repoToken>
-                </configuration>
             </plugin>
 
             <plugin>
@@ -442,14 +439,14 @@
     </distributionManagement>
 
     <pluginRepositories>
-        <pluginRepository>
-            <id>hsweb-nexus</id>
-            <name>Nexus Release Repository</name>
-            <url>http://nexus.hsweb.me/content/groups/public/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
+        <!--<pluginRepository>-->
+            <!--<id>hsweb-nexus</id>-->
+            <!--<name>Nexus Release Repository</name>-->
+            <!--<url>http://nexus.hsweb.me/content/groups/public/</url>-->
+            <!--<snapshots>-->
+                <!--<enabled>true</enabled>-->
+            <!--</snapshots>-->
+        <!--</pluginRepository>-->
         <pluginRepository>
             <id>aliyun-nexus</id>
             <name>aliyun</name>