Tinwor Tinwor - 1 month ago 51
Java Question

Skip mvn test -B in travis ci

I'm using travis ci for this project. I want skip the test so in the .travis.yml I've added this:

install: mvn clean package eclipse:eclipse -D eclipse.pde install -DskipTests=true -Darguments=-DskipTests

But it always run
mvn test -B
. How can I avoid this?

Answer Source

Build configuration is there - http://docs.travis-ci.com/user/build-configuration/

So you need to make "install" as empty command. Example - https://github.com/checkstyle/checkstyle/blob/master/.travis.yml#L21