Skip to content

Commit

Permalink
Merge pull request #19 from Matoking/tuomokar
Browse files Browse the repository at this point in the history
Implemented coveralls for test coverage
  • Loading branch information
tuomokar committed Apr 18, 2016
2 parents 965b750 + 4718fa0 commit 8d817f7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ language: java

before_install:
- mv src/test/easyb src/test/easyb_skip # Hack to make easyB tests work: we rename dir back to easyb later to run tests

after_success:
- mvn clean test jacoco:report coveralls:report

script:
- mvn test
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[![Build Status](https://travis-ci.org/Matoking/Ohtu-Hatut.svg?branch=master)](https://travis-ci.org/Matoking/Ohtu-Hatut)
[![Coverage Status](https://coveralls.io/repos/github/Matoking/Ohtu-Hatut/badge.svg?branch=master)](https://coveralls.io/github/Matoking/Ohtu-Hatut?branch=master)

This is a repository for a mini project done on the course Software production ("ohjelmistotuotanto" in Finnish) in Spring 2016 in the University of Helsinki.

An instance of the app can be found from [here](http://ohtu-references.herokuapp.com/) and documentation [here](https://github.com/Matoking/Ohtu-Hatut/wiki)

[![Build Status](https://travis-ci.org/Matoking/Ohtu-Hatut.svg?branch=master)](https://travis-ci.org/Matoking/Ohtu-Hatut)

Project uses [JBibTeX library](https://github.com/jbibtex/jbibtex) licensed under the [BSD 3-Clause License](http://opensource.org/licenses/BSD-3-Clause)
23 changes: 22 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<artifactId>jbibtex</artifactId>
<version>1.0.15</version>
</dependency>

</dependencies>


Expand All @@ -124,6 +124,7 @@
<enabled>true</enabled>
</snapshots>
</repository>

</repositories>

<pluginRepositories>
Expand All @@ -139,6 +140,26 @@

<build>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.1.0</version>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
Expand Down

0 comments on commit 8d817f7

Please sign in to comment.