Skip to content

Commit

Permalink
Remove maven plugin, add travis steps
Browse files Browse the repository at this point in the history
  • Loading branch information
clayreimann committed Mar 7, 2017
1 parent 7155a1f commit 034f37b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 34 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@
- elide-3.0-wip
- "/^[0-9]+\\.[0-9]+\\.[0-9]+/"
# build steps
before_install:
- curl -sL https://github.com/jpm4j/jpm4j.installers/raw/master/dist/biz.aQute.jpm.run.jar >jpm4j.jar
- java -jar jpm4j.jar -u init
- ~/jpm/bin/jpm install com.codacy:codacy-coverage-reporter:assembly
install: true
script: mvn -B -q clean verify # coveralls:report
after_success:
- ~/jpm/bin/codacy-coverage-reporter -l Java -r build/reports/jacoco/test/jacocoTestReport.xml
- test "${TRAVIS_PULL_REQUEST}" == "false" && mvn -B versioneye:update
- test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_TAG}" != "" && mvn -B deploy --settings travis/settings.xml
# before_deploy: cat travis/bintray_template.json | sed s/\$\{TRAVIS_TAG\}/${TRAVIS_TAG}/g > travis/release.json
Expand Down
34 changes: 0 additions & 34 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -401,38 +401,4 @@
</extension>
</extensions>
</build>
<profiles>
<profile>
<id>codecoverage</id>
<activation>
<property><name>env.TRAVIS</name></property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.gavinmogan</groupId>
<artifactId>codacy-maven-plugin</artifactId>
<version>1.0.3</version>
<configuration>
<apiToken>${env.CODACY_API_TOKEN}</apiToken>
<projectToken>${env.CODACY_PROJECT_TOKEN}</projectToken>
<coverageReportFile>${project.reporting.outputDirectory}/jacoco.xml</coverageReportFile>
<commit>${env.TRAVIS_COMMIT}</commit>
<codacyApiBaseUrl>https://api.codacy.com</codacyApiBaseUrl>
<failOnMissingReportFile>false</failOnMissingReportFile>
</configuration>
<executions>
<execution>
<id>post-test</id>
<phase>post-integration-test</phase>
<goals>
<goal>coverage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 034f37b

Please sign in to comment.