Skip to content

Commit

Permalink
Fix Travis build, no need for two Scala versions with cross-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hygt committed Apr 9, 2020
1 parent 3969d74 commit 8e17364
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ script:
- sbt +test
scala:
- 2.12.11
- 2.13.1
jdk:
- openjdk8
- oraclejdk8
before_script:
- mkdir $TRAVIS_BUILD_DIR/tmp
- export SBT_OPTS="-Djava.io.tmpdir=$TRAVIS_BUILD_DIR/tmp"
sudo: false
dist: trusty
dist: trusty
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ lazy val root = (project in file("."))
.settings(Seq(
name := "kamon-http4s",
scalaVersion := "2.13.1",
crossScalaVersions := Seq("2.12.11", "2.13.1")),
fork := true)
crossScalaVersions := Seq("2.12.11", "2.13.1")))
.settings(resolvers += Resolver.bintrayRepo("kamon-io", "snapshots"))
.settings(resolvers += Resolver.mavenLocal)
.settings(scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
Expand Down

0 comments on commit 8e17364

Please sign in to comment.