Skip to content

Commit eeb5552

Browse files
authored
Merge pull request #33 from jw3/publish
update travis for publishing on tags
2 parents a764e2c + 1978bc4 commit eeb5552

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
language: scala
22

3-
before_install:
4-
- chmod +x scripts/travis.sh
5-
63
scala:
74
- 2.11.8
85
- 2.12.6
96
jdk:
107
- oraclejdk8
118

129
script:
13-
- "scripts/travis.sh"
10+
- sbt ++$TRAVIS_SCALA_VERSION test
11+
- if [[ ! -z "$TRAVIS_TAG" ]]; then sbt ++$TRAVIS_SCALA_VERSION publish; fi
12+
- if [[ ! -z "$UPDATEIMPACT_API_KEY" ]]; then sbt ++$TRAVIS_SCALA_VERSION updateImpactSubmit; fi

scripts/travis.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)