Skip to content

Commit

Permalink
Merge pull request #33 from ingwarsw/feature/fixing_travis
Browse files Browse the repository at this point in the history
Fixing coveralls and travis itself
  • Loading branch information
ingwarsw committed Mar 29, 2016
2 parents 6bbc5b4 + f09aff6 commit 0d94c68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ matrix:
- jdk: oraclejdk7
env: "PROFILE=test-jboss-managed,coveralls-coverage SONATYPE_SNAPSHOT=true"

# Fix for GCE long hostname problem
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*

install: travis/travis.py --fetch

script: travis/travis.py --test
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,12 @@
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.1</version>
<executions>
<execution>
<id>coveralls-jacoco</id>
<goals>
<goal>jacoco</goal>
<goal>report</goal>
</goals>
<phase>install</phase>
</execution>
Expand Down

0 comments on commit 0d94c68

Please sign in to comment.