Skip to content

Commit

Permalink
Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Suszyński Krzysztof committed Mar 29, 2016
1 parent baf45e1 commit deb5cfa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
26 changes: 20 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
language: java
sudo: false
script: mvn clean install -P '!sonar,ci' --fail-at-end
script: mvn clean install --fail-at-end
notifications:
email:
on_failure: true
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
matrix:
include:
- jdk: openjdk6
env: JACOCO=true COVERALLS=true
- jdk: openjdk7
env: JACOCO=true COVERALLS=true
- jdk: oraclejdk7
env: JACOCO=true COVERALLS=true
script: mvn clean install sonar:sonar --fail-at-end
- jdk: oraclejdk8
env: JACOCO=true COVERALLS=true
- jdk: openjdk6
env: JACOCO=false
- jdk: openjdk7
env: JACOCO=false
- jdk: oraclejdk7
env: JACOCO=false
- jdk: oraclejdk8
env: JACOCO=false
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,12 @@
<profiles>
<profile>
<id>ci</id>

<activation>
<property>
<name>env.JACOCO</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -400,10 +405,10 @@
</profile>

<profile>
<id>travis</id>
<id>coveralls</id>
<activation>
<property>
<name>env.TRAVIS</name>
<name>env.COVERALLS</name>
<value>true</value>
</property>
</activation>
Expand Down

0 comments on commit deb5cfa

Please sign in to comment.