Skip to content

Commit 244f4c0

Browse files
committed
test: use a fixed 1.0.0-dev-master-SNAPSHOT driver version when testing with sbt rather than replacing build.sbt every time
1 parent 1492c98 commit 244f4c0

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.github/workflows/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ jobs:
261261
# curl -L -o $HOME/.sbt/launchers/0.13.12/sbt-launch.jar http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.12/sbt-launch.jar
262262
263263
cd test-anorm-sbt
264-
sed -i "s/\"org.postgresql\" % \"postgresql\" % \"[^\"]*\"/\"org.postgresql\" % \"postgresql\" % \"1.0.0-dev-master-SNAPSHOT\"/" build.sbt
265264
sbt test
266265
267266
- name: Cleanup Docker

.travis/travis_build.sh

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ then
6161
curl -L -o $HOME/.sbt/launchers/0.13.12/sbt-launch.jar http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.12/sbt-launch.jar
6262

6363
cd test-anorm-sbt
64-
sed -i "s/\"org.postgresql\" % \"postgresql\" % \"[^\"]*\"/\"org.postgresql\" % \"postgresql\" % \"1.0.0-dev-master-SNAPSHOT\"/" build.sbt
6564
sbt test
6665

6766
cd ..

test-anorm-sbt/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ lazy val root = project
1515
libraryDependencies ++= Seq(
1616
jdbc,
1717
"com.typesafe.play" %% "anorm" % "2.5.3",
18-
"org.postgresql" % "postgresql" % "9.4.1210",
18+
"org.postgresql" % "postgresql" % "1.0.0-dev-master-SNAPSHOT",
1919
"org.scalatestplus" %% "play" % "1.4.0" % "test"
2020
)
2121
)

0 commit comments

Comments
 (0)