Skip to content

Commit

Permalink
Merge pull request #174 from amohrland/sbt-ci-release
Browse files Browse the repository at this point in the history
sbt-ci-release
  • Loading branch information
amohrland authored Mar 19, 2020
2 parents ef57cd5 + aa55457 commit bf801dd
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 226 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ services:

scala:
- 2.12.10
# - 2.13.1

jdk:
- openjdk8

before_install:
- git fetch --tags
- export PATH=${PATH}:./vendor/bundle

install:
Expand All @@ -29,13 +31,14 @@ script:
- sbt ++$TRAVIS_SCALA_VERSION clean
- sbt ++$TRAVIS_SCALA_VERSION headerCheck
- sbt ++$TRAVIS_SCALA_VERSION scalafmtCheckAll
# - sbt ++$TRAVIS_SCALA_VERSION "scalafmtSbtCheck;scalafmtCheckAll"
- sbt ++$TRAVIS_SCALA_VERSION mimaReportBinaryIssues
- sbt ++$TRAVIS_SCALA_VERSION test
- sbt ++$TRAVIS_SCALA_VERSION docs/makeMicrosite
# - sbt ++$TRAVIS_SCALA_VERSION docs/makeMicrosite

after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $TRAVIS_REPO_SLUG == "Banno/kafka4s" && sbt ++$TRAVIS_SCALA_VERSION publish
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $TRAVIS_REPO_SLUG == "Banno/kafka4s" && test $TRAVIS_SCALA_VERSION == "2.12.10" && sbt docs/publishMicrosite
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $TRAVIS_REPO_SLUG == "Banno/kafka4s" && sbt ++$TRAVIS_SCALA_VERSION ci-release
# - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $TRAVIS_REPO_SLUG == "Banno/kafka4s" && test $TRAVIS_SCALA_VERSION == "2.12.10" && sbt docs/publishMicrosite

cache:
directories:
Expand Down
Loading

0 comments on commit bf801dd

Please sign in to comment.