Skip to content

Commit

Permalink
Speed up travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ElPicador committed Jul 7, 2016
1 parent 3c4a899 commit 4e16912
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@ jdk:
cache:
maven: true

script:
- "mvn clean test jacoco:report coveralls:report -B"

#deploy snapshots
after_success:
- mvn clean test jacoco:report coveralls:report
- "mvn clean deploy -DskipTests --settings settings-for-travis.xml"
21 changes: 21 additions & 0 deletions settings-for-travis.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
</servers>
<mirrors/>
<proxies/>
<profiles/>
<activeProfiles/>
</settings>

0 comments on commit 4e16912

Please sign in to comment.