Skip to content
This repository was archived by the owner on Mar 1, 2021. It is now read-only.

Commit f7424c4

Browse files
committed
travis config
1 parent 5652308 commit f7424c4

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.travis.settings.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
~ Copyright 2014-2016 GraphHopper GmbH
3+
~
4+
~ NOTICE: All information contained herein is, and remains the property
5+
~ of GraphHopper GmbH. The intellectual and technical concepts contained
6+
~ herein are proprietary to GraphHopper GmbH, and are protected by trade secret
7+
~ or copyright law. Dissemination of this information or reproduction of
8+
~ this material is strictly forbidden unless prior written permission
9+
~ is obtained from GraphHopper GmbH.
10+
-->
11+
12+
<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">
13+
<servers>
14+
<server>
15+
<id>packagecloud-graphhopper</id>
16+
<password>${env.PACKAGECLOUD_TOKEN}</password>
17+
</server>
18+
<server>
19+
<id>packagecloud-read</id>
20+
<password>${env.PACKAGECLOUD_TOKEN_READ}</password>
21+
</server>
22+
</servers>
23+
</settings>

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ after_success:
2323
else
2424
echo "Not deploying artifacts for $TRAVIS_BRANCH";
2525
fi
26+
27+
deploy:
28+
provider: script
29+
script: "mvn versions:set -DnewVersion=$TRAVIS_TAG -DgenerateBackupPoms=false && mvn --settings .travis.settings.xml -DskipTests=true -B clean deploy"
30+
skip_cleanup: true
31+
on:
32+
branch: master
33+
tags: true

0 commit comments

Comments
 (0)