Last active
January 19, 2017 02:30
-
-
Save mychaelstyle/0a449d73d6fffe9ca9cd89b06919dd78 to your computer and use it in GitHub Desktop.
Playframework2.5 Java+PostgreSQLアプリケーションをTravis-CIでテスト自動化してみた話 ref: http://qiita.com/mychaelstyle/items/68cf895b2d4f014045fc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script:↲ | |
- ./bin/activator test↲ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db { | |
default { | |
driver=org.postgresql.Driver | |
url="jdbc:postgresql://localhost:5432/hoge" | |
username="foo" | |
password="var" | |
logSql=false | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fork in Test := true | |
javaOptions in Test += "-Dconfig.resource=application_test.conf" | |
javaOptions in Test += "-Dlogger.resource=logback_test.xml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<logger name="org.jdbcdslog.ConnectionLogger" level="OFF" /> | |
<logger name="org.jdbcdslog.StatementLogger" level="INFO" /> | |
<logger name="org.jdbcdslog.ResultSetLogger" level="OFF" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment