Add --no-snapshot-updates to Travis builds
This commit is contained in:
parent
e7cd8d41c6
commit
3f29c68e92
2 changed files with 12 additions and 12 deletions
|
@ -26,7 +26,7 @@ before_script:
|
|||
- export MAVEN_SKIP_RC=true
|
||||
|
||||
install:
|
||||
- travis_wait 60 mvn install -Pdistribution -DskipTests=true -B -V -q
|
||||
- travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTests=true -B -V -q
|
||||
|
||||
script:
|
||||
- ./travis-run-tests.sh $TESTS
|
||||
|
|
|
@ -1,40 +1,40 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
if [ $1 == "old" ]; then
|
||||
mvn test -B -f testsuite/integration
|
||||
mvn test -B -f testsuite/jetty
|
||||
mvn test -B -f testsuite/tomcat6
|
||||
mvn test -B -f testsuite/tomcat7
|
||||
mvn test -B -f testsuite/tomcat8
|
||||
mvn test -B --no-snapshot-updates -f testsuite/integration
|
||||
mvn test -B --no-snapshot-updates -f testsuite/jetty
|
||||
mvn test -B --no-snapshot-updates -f testsuite/tomcat6
|
||||
mvn test -B --no-snapshot-updates -f testsuite/tomcat7
|
||||
mvn test -B --no-snapshot-updates -f testsuite/tomcat8
|
||||
fi
|
||||
|
||||
if [ $1 == "group1" ]; then
|
||||
cd testsuite/integration-arquillian/tests/base
|
||||
mvn test -B -Dtest=org.keycloak.testsuite.ad*.**.*Test
|
||||
mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.ad*.**.*Test
|
||||
fi
|
||||
|
||||
if [ $1 == "group2" ]; then
|
||||
cd testsuite/integration-arquillian/tests/base
|
||||
mvn test -B -Dtest=org.keycloak.testsuite.ac*.**.*Test,org.keycloak.testsuite.b*.**.*Test,org.keycloak.testsuite.cli*.**.*Test,org.keycloak.testsuite.co*.**.*Test
|
||||
mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.ac*.**.*Test,org.keycloak.testsuite.b*.**.*Test,org.keycloak.testsuite.cli*.**.*Test,org.keycloak.testsuite.co*.**.*Test
|
||||
fi
|
||||
|
||||
if [ $1 == "group3" ]; then
|
||||
cd testsuite/integration-arquillian/tests/base
|
||||
mvn test -B -Dtest=org.keycloak.testsuite.d*.**.*Test,org.keycloak.testsuite.e*.**.*Test,org.keycloak.testsuite.f*.**.*Test,org.keycloak.testsuite.i*.**.*Test
|
||||
mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.d*.**.*Test,org.keycloak.testsuite.e*.**.*Test,org.keycloak.testsuite.f*.**.*Test,org.keycloak.testsuite.i*.**.*Test
|
||||
fi
|
||||
|
||||
if [ $1 == "group4" ]; then
|
||||
cd testsuite/integration-arquillian/tests/base
|
||||
mvn test -B -Dtest=org.keycloak.testsuite.k*.**.*Test,org.keycloak.testsuite.m*.**.*Test,org.keycloak.testsuite.o*.**.*Test,org.keycloak.testsuite.s*.**.*Test
|
||||
mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.k*.**.*Test,org.keycloak.testsuite.m*.**.*Test,org.keycloak.testsuite.o*.**.*Test,org.keycloak.testsuite.s*.**.*Test
|
||||
fi
|
||||
|
||||
if [ $1 == "adapter" ]; then
|
||||
cd testsuite/integration-arquillian/tests/other/adapters
|
||||
mvn test -B
|
||||
mvn test -B --no-snapshot-updates
|
||||
fi
|
||||
|
||||
if [ $1 == "console" ]; then
|
||||
cd testsuite/integration-arquillian/tests/other/console
|
||||
mvn test -B
|
||||
mvn test -B --no-snapshot-updates
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue