mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-30 12:25:08 +00:00
Check code formatting with travis ci
This commit is contained in:
parent
5b44dfdb52
commit
b2ca314da9
@ -23,4 +23,4 @@ before_script:
|
||||
- export TZ=Europe/Berlin
|
||||
|
||||
script:
|
||||
- sbt ++$TRAVIS_SCALA_VERSION ";project root ;make ;test"
|
||||
- sbt ++$TRAVIS_SCALA_VERSION ";project root ;scalafmtCheckAll ;make ;test"
|
||||
|
@ -50,7 +50,8 @@ object ConversionTest extends SimpleTestSuite with FileChecks {
|
||||
)
|
||||
)
|
||||
|
||||
val conversion = Conversion.create[IO](convertConfig, SanitizeHtml.none, blocker, logger)
|
||||
val conversion =
|
||||
Conversion.create[IO](convertConfig, SanitizeHtml.none, blocker, logger)
|
||||
|
||||
val bombs = List(
|
||||
ExampleFiles.bombs_20K_gray_jpeg,
|
||||
|
@ -12,9 +12,9 @@ import java.nio.charset.StandardCharsets
|
||||
object ExternConvTest extends SimpleTestSuite with FileChecks {
|
||||
val blocker = TestFiles.blocker
|
||||
implicit val CS = TestFiles.CS
|
||||
val utf8 = StandardCharsets.UTF_8
|
||||
val logger = Logger.log4s[IO](org.log4s.getLogger)
|
||||
val target = Paths.get("target")
|
||||
val utf8 = StandardCharsets.UTF_8
|
||||
val logger = Logger.log4s[IO](org.log4s.getLogger)
|
||||
val target = Paths.get("target")
|
||||
|
||||
test("convert html to pdf") {
|
||||
val cfg = SystemCommand.Config(
|
||||
|
Loading…
x
Reference in New Issue
Block a user