Merge pull request #3943 from stianst/TRAVIS
Add --no-snapshot-updates to Travis builds
This commit is contained in:
commit
ef164f5e69
19 files changed
+65
-15
No files matched your search
+1
-2
@@ -16,7 +16,6 @@ env:
|
|||||||
- TESTS=group2
|
- TESTS=group2
|
||||||
- TESTS=group3
|
- TESTS=group3
|
||||||
- TESTS=group4
|
- TESTS=group4
|
||||||
- TESTS=adapter
|
|
||||||
- TESTS=old
|
- TESTS=old
|
||||||
|
|
||||||
jdk:
|
jdk:
|
||||||
@@ -26,7 +25,7 @@ before_script:
|
|||||||
- export MAVEN_SKIP_RC=true
|
- export MAVEN_SKIP_RC=true
|
||||||
|
|
||||||
install:
|
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:
|
script:
|
||||||
- ./travis-run-tests.sh $TESTS
|
- ./travis-run-tests.sh $TESTS
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
@@ -101,4 +104,4 @@
|
|||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
@@ -1350,6 +1350,9 @@
|
|||||||
<repository>
|
<repository>
|
||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<name>jboss repo</name>
|
<name>jboss repo</name>
|
||||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
@@ -68,4 +71,4 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
+11
-11
@@ -1,40 +1,40 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
if [ $1 == "old" ]; then
|
if [ $1 == "old" ]; then
|
||||||
mvn test -B -f testsuite/integration
|
mvn test -B --no-snapshot-updates -f testsuite/integration
|
||||||
mvn test -B -f testsuite/jetty
|
mvn test -B --no-snapshot-updates -f testsuite/jetty
|
||||||
mvn test -B -f testsuite/tomcat6
|
mvn test -B --no-snapshot-updates -f testsuite/tomcat6
|
||||||
mvn test -B -f testsuite/tomcat7
|
mvn test -B --no-snapshot-updates -f testsuite/tomcat7
|
||||||
mvn test -B -f testsuite/tomcat8
|
mvn test -B --no-snapshot-updates -f testsuite/tomcat8
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $1 == "group1" ]; then
|
if [ $1 == "group1" ]; then
|
||||||
cd testsuite/integration-arquillian/tests/base
|
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
|
fi
|
||||||
|
|
||||||
if [ $1 == "group2" ]; then
|
if [ $1 == "group2" ]; then
|
||||||
cd testsuite/integration-arquillian/tests/base
|
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
|
fi
|
||||||
|
|
||||||
if [ $1 == "group3" ]; then
|
if [ $1 == "group3" ]; then
|
||||||
cd testsuite/integration-arquillian/tests/base
|
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
|
fi
|
||||||
|
|
||||||
if [ $1 == "group4" ]; then
|
if [ $1 == "group4" ]; then
|
||||||
cd testsuite/integration-arquillian/tests/base
|
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
|
fi
|
||||||
|
|
||||||
if [ $1 == "adapter" ]; then
|
if [ $1 == "adapter" ]; then
|
||||||
cd testsuite/integration-arquillian/tests/other/adapters
|
cd testsuite/integration-arquillian/tests/other/adapters
|
||||||
mvn test -B
|
mvn test -B --no-snapshot-updates
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $1 == "console" ]; then
|
if [ $1 == "console" ]; then
|
||||||
cd testsuite/integration-arquillian/tests/other/console
|
cd testsuite/integration-arquillian/tests/other/console
|
||||||
mvn test -B
|
mvn test -B --no-snapshot-updates
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Reference in new issue
Block a user