Travis-CI - add another task to the sbt command

0__

I read 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.

But that link gives kilobytes and kilobytes of text that I don't grok.

In two sentences; how to make Travis CI use the following instead:

sbt ++$TRAVIS_SCALA_VERSION test assembly

?

0__

One has to simply add a script section to .travis.yml, e.g.

language: scala

scala:
  - 2.11.5
  - 2.10.0

script:
  - sbt ++$TRAVIS_SCALA_VERSION test assembly

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Travis CI build failed in gradle task

From Dev

Grails: command not found with Travis-CI

From Dev

Travis CI suddenly fails: conda command not found

From Dev

Run grunt build command on Travis CI

From Dev

Travis CI - Running Command on Job Cancellation

From Dev

How to add SSH Key in Travis CI?

From Dev

Travis CI Execution failed for task ':compileJava'. > invalid source release: 1.8

From Dev

Travis CI Execution failed for task ':compileJava'. > invalid source release: 1.8

From Dev

Execute SBT task based on result of another

From Dev

How to use the value of another key in a sbt task?

From Dev

How can I call another task from my SBT task?

From Dev

Building failing at Travis-CI due to composer command call

From Dev

travis-ci encrypt command is asking for login --pro

From Dev

How to run a command only if is the master branch in travis-ci?

From Dev

Travis CI: The command "bundle exec rake" exited with 1

From Dev

Travis-ci command "./gradlew build" exited with 1

From Dev

Getting gcc command not found when running the Makefile on travis CI

From Dev

Getting gcc command not found when running the Makefile on travis CI

From Dev

Building failing at Travis-CI due to composer command call

From Dev

Travis CI Build failure due to failed to execute openssl command

From Dev

Travis CI: line 57 error: pytest#: command not found

From Dev

running sh script on travis CI: The command exited with 1

From Dev

Add credentials to allow Travis-CI to use a private Nexus repository

From Dev

How to add my module to travis-ci pythonpath

From Dev

How to add tests/ directory to PYTHONPATH when testing with Travis-CI?

From Dev

How to add one SBT project as a dependency of another?

From Dev

How to add one SBT project as a dependency of another?

From Dev

How to execute a task/command right after the project is loaded in sbt shell

From Dev

SBT - how to make an InputTask depend on one task and doFinally another

Related Related

  1. 1

    Travis CI build failed in gradle task

  2. 2

    Grails: command not found with Travis-CI

  3. 3

    Travis CI suddenly fails: conda command not found

  4. 4

    Run grunt build command on Travis CI

  5. 5

    Travis CI - Running Command on Job Cancellation

  6. 6

    How to add SSH Key in Travis CI?

  7. 7

    Travis CI Execution failed for task ':compileJava'. > invalid source release: 1.8

  8. 8

    Travis CI Execution failed for task ':compileJava'. > invalid source release: 1.8

  9. 9

    Execute SBT task based on result of another

  10. 10

    How to use the value of another key in a sbt task?

  11. 11

    How can I call another task from my SBT task?

  12. 12

    Building failing at Travis-CI due to composer command call

  13. 13

    travis-ci encrypt command is asking for login --pro

  14. 14

    How to run a command only if is the master branch in travis-ci?

  15. 15

    Travis CI: The command "bundle exec rake" exited with 1

  16. 16

    Travis-ci command "./gradlew build" exited with 1

  17. 17

    Getting gcc command not found when running the Makefile on travis CI

  18. 18

    Getting gcc command not found when running the Makefile on travis CI

  19. 19

    Building failing at Travis-CI due to composer command call

  20. 20

    Travis CI Build failure due to failed to execute openssl command

  21. 21

    Travis CI: line 57 error: pytest#: command not found

  22. 22

    running sh script on travis CI: The command exited with 1

  23. 23

    Add credentials to allow Travis-CI to use a private Nexus repository

  24. 24

    How to add my module to travis-ci pythonpath

  25. 25

    How to add tests/ directory to PYTHONPATH when testing with Travis-CI?

  26. 26

    How to add one SBT project as a dependency of another?

  27. 27

    How to add one SBT project as a dependency of another?

  28. 28

    How to execute a task/command right after the project is loaded in sbt shell

  29. 29

    SBT - how to make an InputTask depend on one task and doFinally another

HotTag

Archive