aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-08-24 14:37:50 -0700
committerGitHub <noreply@github.com>2018-08-24 14:37:50 -0700
commit31e2cdd834c3be3d59bc23ee2c4eff7874d80159 (patch)
treefb8044a9f6dcaf27b43d4c7add2e4f70911487bd /.travis.yml
parentdf1a2f7fcbdd85ac84162cf8eae8cdb6bb25cbb5 (diff)
downloaddriver-core-31e2cdd834c3be3d59bc23ee2c4eff7874d80159.tar.gz
driver-core-31e2cdd834c3be3d59bc23ee2c4eff7874d80159.tar.bz2
driver-core-31e2cdd834c3be3d59bc23ee2c4eff7874d80159.zip
Upgrade sbt-settings to major version 2 (#201)
This will affect development workflow: instead of running `sbt release` to tag and publish a new version, the release process is now as follows: 1. Create a git tag on a revision that should be published. The tag must be in the format `v[0-9].*` 2. Push the tag to GitHub `git push --tags` 3. CI will build that tag and publish the resulting binary to our artifactory Since the new sbt settings do not enable advanced or risky language features globally anymore (such as higher kinds, reflective calls and implicit conversions), the other changes in this PR either import language features locally or refactor the code to avoid using them entirely.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index c31881d..7845eae 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,8 +4,9 @@ jdk:
- oraclejdk8
scala:
- - 2.12.3
+ - 2.12.6
script:
- echo 'credentials += Credentials("Artifactory Realm", "drivergrp.jfrog.io", "sbt-publisher", sys.env("ARTIFACTORY_PASSWORD"))' > project/credentials.sbt
- - "sbt clean +test"
+ - sbt clean +test
+ - if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then sbt publish; fi