mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
continuous delivery of snapshots
This commit is contained in:
parent
c47dae32d3
commit
49c8ade5c4
3 changed files with 60 additions and 2 deletions
27
.travis.settings.xml
Normal file
27
.travis.settings.xml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
<!--
|
||||||
|
~ Licensed to GraphHopper GmbH under one or more contributor
|
||||||
|
~ license agreements. See the NOTICE file distributed with this work for
|
||||||
|
~ additional information regarding copyright ownership.
|
||||||
|
~
|
||||||
|
~ GraphHopper GmbH licenses this file to you under the Apache License,
|
||||||
|
~ Version 2.0 (the "License"); you may not use this file except in
|
||||||
|
~ compliance with the License. You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing, software
|
||||||
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
~ See the License for the specific language governing permissions and
|
||||||
|
~ limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<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">
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>packagecloud-graphhopper</id>
|
||||||
|
<password>${env.PACKAGECLOUD_TOKEN}</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
</settings>
|
||||||
17
.travis.yml
17
.travis.yml
|
|
@ -4,3 +4,20 @@ jdk:
|
||||||
- oraclejdk7
|
- oraclejdk7
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
provider: script
|
||||||
|
script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
|
||||||
|
# do not install anything instead return true via unix command true
|
||||||
|
install: true
|
||||||
|
script: mvn clean test
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
- github@graphhopper.com
|
||||||
|
|
||||||
|
# enable container-based stack
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
|
|
||||||
18
pom.xml
18
pom.xml
|
|
@ -56,6 +56,7 @@
|
||||||
<tag>HEAD</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>github</system>
|
<system>github</system>
|
||||||
<url>https://github.com/graphhopper/jsprit/issues</url>
|
<url>https://github.com/graphhopper/jsprit/issues</url>
|
||||||
|
|
@ -81,6 +82,15 @@
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
||||||
|
<extensions>
|
||||||
|
<extension>
|
||||||
|
<groupId>io.packagecloud.maven.wagon</groupId>
|
||||||
|
<artifactId>maven-packagecloud-wagon</artifactId>
|
||||||
|
<version>0.0.4</version>
|
||||||
|
</extension>
|
||||||
|
</extensions>
|
||||||
|
|
||||||
<sourceDirectory>src/main/java</sourceDirectory>
|
<sourceDirectory>src/main/java</sourceDirectory>
|
||||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||||
<directory>target</directory>
|
<directory>target</directory>
|
||||||
|
|
@ -180,9 +190,13 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>packagecloud-graphhopper</id>
|
||||||
|
<url>packagecloud+https://packagecloud.io/graphhopper/jsprit</url>
|
||||||
|
</repository>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>ossrh</id>
|
<id>packagecloud-graphhopper</id>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
<url>packagecloud+https://packagecloud.io/graphhopper/jsprit</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue