mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
KEYCLOAK-4870
Travis doesn't run unit tests
This commit is contained in:
@@ -25,7 +25,7 @@ before_script:
|
||||
- export MAVEN_SKIP_RC=true
|
||||
|
||||
install:
|
||||
- travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTests=true -B -V -q
|
||||
- travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTestsuite -B -V -q
|
||||
|
||||
script:
|
||||
- ./travis-run-tests.sh $TESTS
|
||||
|
||||
13
pom.xml
13
pom.xml
@@ -192,7 +192,6 @@
|
||||
<module>adapters</module>
|
||||
<module>authz</module>
|
||||
<module>examples</module>
|
||||
<module>testsuite</module>
|
||||
<module>misc</module>
|
||||
</modules>
|
||||
|
||||
@@ -1540,6 +1539,18 @@
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>testsuite</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!skipTestsuite</name>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>testsuite</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>distribution</id>
|
||||
<modules>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
travis_wait 60 mvn install --no-snapshot-updates -DskipTests=true -B -V -q -f testsuite
|
||||
|
||||
if [ $1 == "old" ]; then
|
||||
mvn test -B --no-snapshot-updates -f testsuite/integration
|
||||
mvn test -B --no-snapshot-updates -f testsuite/jetty
|
||||
|
||||
Reference in New Issue
Block a user