What's the recipe for running mvn test integration instead of mvn test with Travis?
2 answers
Tmarwen's answer is correct, but it will run your device tests twice (the "mvn" validation phase already includes the "test" phase) as described in the documentation for Maven - Introduction to Build Lifecycle
You can just use (it will run both unit tests and integration tests, every time). It will work just as well, but faster (no need to delete / specify the folder, recompile all the code, and rerun the unit tests a second time):
script: "mvn verify"
+13
source to share