Travis-CI - 向 sbt 命令添加另一个任务
Travis-CI - add another task to the sbt command
我读了this:
By default, Travis CI will use
sbt ++$TRAVIS_SCALA_VERSION test
to run your test suite. This can be overridden as described in the general build configuration guide.
但是 link 给出了千字节和千字节的文本,我不理解。
两句话;如何让 Travis CI 改为使用以下内容:
sbt ++$TRAVIS_SCALA_VERSION test assembly
?
只需将 script
部分添加到 .travis.yml
,例如
language: scala
scala:
- 2.11.5
- 2.10.0
script:
- sbt ++$TRAVIS_SCALA_VERSION test assembly
我读了this:
By default, Travis CI will use
sbt ++$TRAVIS_SCALA_VERSION test
to run your test suite. This can be overridden as described in the general build configuration guide.
但是 link 给出了千字节和千字节的文本,我不理解。
两句话;如何让 Travis CI 改为使用以下内容:
sbt ++$TRAVIS_SCALA_VERSION test assembly
?
只需将 script
部分添加到 .travis.yml
,例如
language: scala
scala:
- 2.11.5
- 2.10.0
script:
- sbt ++$TRAVIS_SCALA_VERSION test assembly