Reputation: 7983
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?
Upvotes: 2
Views: 2120
Reputation: 1040
For skipping test in travis you need to put the below configuration
install: true
script: mvn clean package -DskipTests=true
Upvotes: 1
Reputation: 2537
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
Upvotes: 0