File tree Expand file tree Collapse file tree 9 files changed +18
-9
lines changed Expand file tree Collapse file tree 9 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ branches:
13
13
only :
14
14
- master
15
15
after_success :
16
- - mvn cobertura:cobertura coveralls:report
17
- - mvn site-deploy -DskipTests=true --settings=target/travis/settings.xml
18
- - mvn deploy -DskipTests=true -Dgpg.skip=true --settings target/travis/settings.xml
16
+ - utilities/after_success.sh
19
17
env :
20
18
global :
21
19
- secure : " bjyc4GJSP9850m6KSO2LiGKMJI/iFJ6dIDNrrZJHiokWUv8ID5+X7O04YtAFF+WrYyVDJ8Zs+uduAJaQ5NFesnhFjMMNTOaliYIBjpBgdZU0vgmsU0NzO35bu6wA5DAdI8AGUNCVwSZpOAMnj/80dbYbyFwBn2DWBZ3QwpV6J/I="
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Java idiomatic client for [Google Cloud Platform][cloud-platform] services.
5
5
6
6
[ ![ Build Status] ( https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master )] ( https://travis-ci.org/GoogleCloudPlatform/gcloud-java )
7
7
[ ![ Coverage Status] ( https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master )] ( https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master )
8
+ [ ![ Maven] ( https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java.svg )] ( https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java.svg )
8
9
9
10
- [ Homepage] (https://googlecloudplatform.github.io/gcloud-java/ )
10
11
- [ API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs )
Original file line number Diff line number Diff line change 5
5
<artifactId >gcloud-java-core</artifactId >
6
6
<packaging >jar</packaging >
7
7
<name >GCloud Java core</name >
8
- <url >https://github.com/GoogleCloudPlatform/gcloud-java</url >
9
8
<description >
10
9
Core module for the gcloud-java.
11
10
</description >
Original file line number Diff line number Diff line change 5
5
<artifactId >gcloud-java-datastore</artifactId >
6
6
<packaging >jar</packaging >
7
7
<name >GCloud Java datastore</name >
8
- <url >https://github.com/GoogleCloudPlatform/gcloud-java</url >
9
8
<description >
10
9
Java idiomatic client for Google Cloud Datastore.
11
10
</description >
Original file line number Diff line number Diff line change 5
5
<artifactId >gcloud-java-examples</artifactId >
6
6
<packaging >jar</packaging >
7
7
<name >GCloud Java examples</name >
8
- <url >https://github.com/GoogleCloudPlatform/gcloud-java</url >
9
8
<description >
10
9
Examples for gcloud-java.
11
10
</description >
Original file line number Diff line number Diff line change 5
5
<artifactId >gcloud-java-storage</artifactId >
6
6
<packaging >jar</packaging >
7
7
<name >GCloud Java storage</name >
8
- <url >https://github.com/GoogleCloudPlatform/gcloud-java</url >
9
8
<description >
10
9
Java idiomatic client for Google Cloud Storage.
11
10
</description >
Original file line number Diff line number Diff line change 5
5
<artifactId >gcloud-java</artifactId >
6
6
<packaging >jar</packaging >
7
7
<name >GCloud Java</name >
8
- <url >https://github.com/GoogleCloudPlatform/gcloud-java</url >
9
8
<description >
10
9
Java idiomatic client for Google Cloud Platform services.
11
10
</description >
Original file line number Diff line number Diff line change 50
50
<site >
51
51
<id >github-pages-site</id >
52
52
<name >Deployment through GitHub's site deployment plugin</name >
53
- <url >http://googlecloudplatform.github.io/gcloud-java /</url >
53
+ <url >site/ ${project.version} /</url >
54
54
</site >
55
55
</distributionManagement >
56
56
<licenses >
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # This script is used by Travis-CI to publish artifacts (binary, sorce and javadoc jars) when releasing snapshots.
4
+ # This script is referenced in .travis.yml.
5
+
6
+ echo " Travis branch: " ${TRAVIS_BRANCH}
7
+ echo " Travis pull request: " ${TRAVIS_PULL_REQUEST}
8
+ echo " Travis JDK version: " ${TRAVIS_JDK_VERSION}
9
+ if [ " ${TRAVIS_JDK_VERSION} " == " oraclejdk7" -a " ${TRAVIS_BRANCH} " == " master" -a " ${TRAVIS_PULL_REQUEST} " == " false" ]; then
10
+ mvn cobertura:cobertura coveralls:report
11
+ mvn site-deploy -DskipTests=true --settings=target/travis/settings.xml
12
+ mvn deploy -DskipTests=true -Dgpg.skip=true --settings target/travis/settings.xml
13
+ else
14
+ echo " Not deploying artifacts. This is only done with non-pull-request commits to master branch with Oracle Java 7 builds."
15
+ fi
You can’t perform that action at this time.
0 commit comments