Skip to content

Commit

Permalink
travis deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
polettif committed Aug 30, 2017
1 parent 713d6b3 commit 0c41cbd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
language: java
language: java

script:
- mvn test -B -Dmatsim.preferLocalDtds=true
- mvn deploy -DskipTests=true --settings=settings.xml;
10 changes: 9 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.matsim</groupId>
<artifactId>pt2matsim</artifactId>
<version>0.9.0-SNAPSHOT</version>
<version>0.9.0</version>

<name>PT2MATSim</name>
<description>Public Transport to MATSim</description>

<distributionManagement>
<repository>
<id>bintray-polettif-matsim</id>
<name>polettif-matsim</name>
<url>https://api.bintray.com/maven/polettif/matsim/pt2matsim/;publish=1</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<id>osgeo</id>
Expand Down
13 changes: 13 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version='1.0' encoding='UTF-8'?>
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>

<servers>
<server>
<id>bintray-polettif-matsim</id>
<username>${env.BINTRAY_USER}</username>
<password>${env.BINTRAY_PASSWORD}</password>
</server>
</servers>

</settings>

0 comments on commit 0c41cbd

Please sign in to comment.