Skip to content

Commit de1f0ac

Browse files
author
Vignesh Raja
authored
Merge pull request #3 from optimizely/vignesh/update-travis-badge
Update Travis badge to reflect public repo and run release task only on merges
2 parents ea77f60 + 5a45745 commit de1f0ac

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ before_script:
77
- git config user.email "noreply@travis-ci.org"
88
- git checkout $TRAVIS_BRANCH
99
script:
10-
- "./gradlew release -Prelease.useAutomaticVersion=true"
10+
- './gradlew clean build check'
11+
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./gradlew release -Prelease.useAutomaticVersion=true'
1112
env:
1213
global:
1314
- TERM=dumb

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Optimizely Java SDK
22
===================
3-
[![Build Status](https://travis-ci.com/optimizely/optimizely-ab-java-sdk.svg?token=qN2PbasvLidLamENwDAs&branch=master)](https://travis-ci.com/optimizely/java-sdk)
3+
[![Build Status](https://travis-ci.org/optimizely/java-sdk.svg?branch=master)](https://travis-ci.org/optimizely/java-sdk)
44
[![Apache 2.0](https://img.shields.io/github/license/nebula-plugins/gradle-extra-configurations-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0)
55

66
This repository houses the Java SDK for Optimizely's server-side testing product, which is currently in private beta.

0 commit comments

Comments
 (0)