зеркало из https://github.com/microsoft/pai.git
[Launcher]: Setup test with coveralls report
This commit is contained in:
Родитель
03f836bc32
Коммит
37b7823660
|
@ -17,7 +17,7 @@ matrix:
|
|||
install:
|
||||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
script:
|
||||
- mvn test -B
|
||||
- mvn clean test jacoco:report coveralls:report
|
||||
- language: java
|
||||
jdk: openjdk8
|
||||
before_install:
|
||||
|
@ -25,7 +25,7 @@ matrix:
|
|||
install:
|
||||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
script:
|
||||
- mvn test -B
|
||||
- mvn clean test jacoco:report coveralls:report
|
||||
- language: node_js
|
||||
node_js: 6
|
||||
env: NODE_ENV=test
|
||||
|
|
|
@ -46,6 +46,8 @@
|
|||
<validation.version>2.0.0.Final</validation.version>
|
||||
<validator.version>5.2.1.Final</validator.version>
|
||||
<el.version>2.2</el.version>
|
||||
<coveralls.version>4.3.0</coveralls.version>
|
||||
<jacoco.version>0.7.6.201602180812</jacoco.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -181,6 +183,24 @@
|
|||
<target>${project.java.src.version}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.eluder.coveralls</groupId>
|
||||
<artifactId>coveralls-maven-plugin</artifactId>
|
||||
<version>${coveralls.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prepare-agent</id>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
Загрузка…
Ссылка в новой задаче