Skip to content

Commit

Permalink
Merge pull request #18 from LorenzoBettini/travis
Browse files Browse the repository at this point in the history
Travis
  • Loading branch information
LorenzoBettini committed Jan 2, 2018
2 parents c980812 + 888fb55 commit f5d3058
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ language: java
matrix:
fast_finish: true
include:
# always build this environment
- os: linux
jdk: oraclejdk8
env: DISPLAY=:99.0
# - os: osx
# osx_image: xcode8

env: DISPLAY=:99.0 ADDITIONAL="-Pjacoco coveralls:report"
# only on PR
# - os: osx
# osx_image: xcode8
# if: type IN (pull_request)
cache:
directories:
- $HOME/.m2
Expand Down
2 changes: 1 addition & 1 deletion edelta.parent/edelta.tests.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<packaging>pom</packaging>

<properties>
<jacoco-version>0.7.8</jacoco-version>
<jacoco-version>0.7.9</jacoco-version>
<os-jvm-flags />
</properties>

Expand Down
2 changes: 1 addition & 1 deletion travis_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
fi
else
echo "Build on Linux"
mvn -f edelta.parent/pom.xml clean verify -Pjacoco coveralls:report -Dtycho.disableP2Mirrors=true
mvn -f edelta.parent/pom.xml clean verify $ADDITIONAL
fi

0 comments on commit f5d3058

Please sign in to comment.