-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from luan-cestari/travis_update
Travis update
- Loading branch information
Showing
5 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
language: java | ||
jdk: | ||
- openjdk7 | ||
- oraclejdk8 | ||
- openjdk7 | ||
- oraclejdk8 | ||
before_install: | ||
- cp ./etc/settings.xml ~/.m2/ | ||
after_success: | ||
- "[[ $TRAVIS_BRANCH == \"master\" ]] && [[ $TRAVIS_JDK_VERSION == \"openjdk7\" ]] && { mvn clean deploy -DskipTests; };" | ||
- mvn clean test jacoco:report coveralls:jacoco | ||
- cp ./etc/settings.xml ~/.m2/ | ||
- cp ./etc/onFailure.sh ~/ | ||
- cp ./etc/onSuccess.sh ~/ | ||
- chmod 777 ~/onFailure.sh | ||
- chmod 777 ~/onSuccess.sh | ||
script: | ||
- mvn -B clean verify cobertura:cobertura coveralls:report | ||
after_failure: ~/onFailure.sh | ||
after_success: ~/onSuccess.sh | ||
notifications: | ||
email: false | ||
irc: | ||
channels: | ||
- chat.freenode.net#lightblue | ||
email: false | ||
irc: | ||
channels: | ||
- chat.freenode.net#lightblue | ||
on_success: always | ||
flowdock: 7496abec1be386352676d957bb66e027 | ||
flowdock: 7496abec1be386352676d957bb66e027 | ||
env: | ||
global: | ||
- secure: BiobCgn6K201T4SjEwr3PqY9dl9Comw8mq3XppO33ahAl995f/sXvorSpMRiKJkuT27MOQGhH6lTYQBy32jbeShQaI3HIyEYyi8KaO6AM+CmaRGN5t2E3Oe0WmzUy1x3aQKj9k8CC4/X3fhHQD1yaANJWZz5qeumcQgYKeb5ojE= | ||
- secure: n5fgYW+8pPWzu2Mvhgc/3A3oW63JwxD23rZD8GfW02jvJTQ8tJuNwKfn+o2ONcvugZ+xaZ+Ev4qx3CTBnkAwm45PJBgIElievSB1VbK/uQsQnEiBa6EqgleRRzrMEwaTG0CrHRCk3VmGspGIEC7M48NHqyRBtzn6DhwB1zhbPUg= | ||
global: | ||
- secure: BiobCgn6K201T4SjEwr3PqY9dl9Comw8mq3XppO33ahAl995f/sXvorSpMRiKJkuT27MOQGhH6lTYQBy32jbeShQaI3HIyEYyi8KaO6AM+CmaRGN5t2E3Oe0WmzUy1x3aQKj9k8CC4/X3fhHQD1yaANJWZz5qeumcQgYKeb5ojE= | ||
- secure: n5fgYW+8pPWzu2Mvhgc/3A3oW63JwxD23rZD8GfW02jvJTQ8tJuNwKfn+o2ONcvugZ+xaZ+Ev4qx3CTBnkAwm45PJBgIElievSB1VbK/uQsQnEiBa6EqgleRRzrMEwaTG0CrHRCk3VmGspGIEC7M48NHqyRBtzn6DhwB1zhbPUg= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env sh | ||
|
||
echo "DEBUG TRAVIS BUILD FAILURE" | ||
echo "Current directory is $(pwd)" | ||
echo "Sunfire reports" | ||
for i in `find . -type d -name surefire-reports` ; do for f in $i/*.txt; do echo $f : `cat $f`; done done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env sh | ||
|
||
echo "DEPLOY MASTER TRAVIS BUILD" | ||
echo "Current directory is $(pwd)" | ||
'[[ $TRAVIS_BRANCH == "master" ]] && [[ $TRAVIS_JDK_VERSION == "openjdk7" ]] && { mvn clean deploy -DskipTests; };' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,5 @@ git push origin master --tags | |
|
||
# perform release | ||
mvn release:perform -P release || exit | ||
|
||
mvn clean deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters