Skip to content

Commit 8e4d801

Browse files
authored
Merge pull request #7 from lazycoderio/cov
updating travis with coverage results
2 parents 6447aea + e02f83c commit 8e4d801

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
os: osx
22
language: java
3+
sudo: false # faster builds
4+
35
before_install:
46
- brew update
57
- brew install geckodriver
68
- brew cask install firefox
9+
10+
script: "mvn cobertura:cobertura"
11+
712
after_success:
8-
- bash <(curl -s https://codecov.io/bash)
9-
- mvn clean cobertura:cobertura coveralls:report
13+
- mvn cobertura:cobertura coveralls:report
14+
- bash <(curl -s https://codecov.io/bash)

codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
codecov:
2-
branch: master
3-
bot: null
2+
notify:
3+
require_ci_to_pass: yes
44

55
coverage:
66
precision: 2

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
<groupId>org.eluder.coveralls</groupId>
3636
<artifactId>coveralls-maven-plugin</artifactId>
3737
<version>4.3.0</version>
38+
<configuration>
39+
<sourceEncoding>UTF8</sourceEncoding>
40+
</configuration>
3841
</plugin>
3942
<plugin>
4043
<groupId>org.codehaus.mojo</groupId>
@@ -46,6 +49,7 @@
4649
<format>xml</format>
4750
</formats>
4851
<check />
52+
<maxmem>256m</maxmem>
4953
</configuration>
5054
</plugin>
5155
</plugins>

0 commit comments

Comments
 (0)