-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to get Travis working again...
- Loading branch information
1 parent
68cefc8
commit 073c3e1
Showing
2 changed files
with
13 additions
and
7 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,11 +1,22 @@ | ||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
|
||
before_install: | ||
install: | ||
- mvn validate # install .jar files | ||
# - mvn install -DskipTests=true | ||
|
||
after_success: | ||
- mvn test jacoco:report coveralls:report -DrepoToken=$COVERALLS_TOKEN | ||
# coveralls.io | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && mvn clean test jacoco:report coveralls:report -DrepoToken=$COVERALLS_TOKEN' | ||
# | ||
# - (curl https://www.jpm4j.org/install/script | sh) && jpm install com.codacy:codacy-coverage-reporter:assembly && codacy-coverage-reporter -l Java -r coverage.xml | ||
- codacy-coverage-reporter -l Java -r coverage.xml | ||
#- curl -sL https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/biz.aQute.jpm/generated/biz.aQute.jpm.run.jar >jpm4j.jar | ||
#- jpm install com.codacy:codacy-coverage-reporter:assembly | ||
- echo "---!!!---" | ||
- pwd | ||
- ls | ||
- echo "---!!!---" | ||
- 'mkdir --parents target/jpm && curl -sL https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/biz.aQute.jpm/generated/biz.aQute.jpm.run.jar > target/jpm/jpm4j.jar && java -jar target/jpm/jpm4j.jar -u init && export PATH=$PATH:$HOME/jpm/bin && jpm install com.codacy:codacy-coverage-reporter:assembly' | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && codacy-coverage-reporter -l Java -r coverage.xml' |
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