Skip to content

Commit

Permalink
Merge pull request #771 from sbt/wip/docker-stage-tests
Browse files Browse the repository at this point in the history
Add a few docker tests for travis
  • Loading branch information
muuki88 committed Apr 9, 2016
2 parents de98975 + 6894ccf commit 67bf957
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ script:
- ./sbt ++$SCALA_VERSION --warn update compile test:compile
- ./sbt ++$SCALA_VERSION test "scripted universal/* jar/*"
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
./sbt ++$SCALA_VERSION "scripted rpm/* debian/*";
./sbt ++$SCALA_VERSION "scripted rpm/* debian/* docker/staging docker/entrypoint docker/ports docker/volumes";
fi
- if [[ "$TRAVIS_JDK_VERSION" = "oraclejdk8" ]]; then
./sbt ++$SCALA_VERSION "scripted jdkpackager/test-package-minimal jdkpackager/test-package-mappings";
Expand All @@ -30,9 +30,9 @@ matrix:
jdk: openjdk7
- os: linux
jdk: oraclejdk8

sudo: false
cache:
cache:
apt: true
directories:
- $HOME/.sbt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import SbtNativePackager.{ Universal, Linux }
object DockerPlugin extends AutoPlugin {

object autoImport extends DockerKeys {
val Docker = config("docker") extend Universal
val Docker = config("docker")
}

import autoImport._
Expand Down
2 changes: 0 additions & 2 deletions test-project-docker/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.typesafe.sbt.packager.docker._

enablePlugins(JavaAppPackaging, DockerSpotifyClientPlugin)

name := "docker-test"
Expand Down

0 comments on commit 67bf957

Please sign in to comment.