Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Dec 12, 2018
2 parents 3d3efd2 + 47b595b commit 289ab97
Show file tree
Hide file tree
Showing 82 changed files with 941 additions and 11,502 deletions.
18 changes: 13 additions & 5 deletions .travis.yml
Expand Up @@ -10,12 +10,20 @@ cache:

before_install:
- choco install maven
- export MAVEN_OPTS='-Xmx6g'
- RefreshEnv.cmd
- export MAVEN_OPTS='-Xmx6g -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- export JAVA_HOME=`find "/c/Program Files/Java" -name jdk1.8.*`

# custom script is used so build and tests are done in one mvn command, separating it (as Travis does by default) leads to problem with ConnId (notably DummyResource)
script: mvn -B clean install

addons:
hostname: localhost # workaround for short hostname
hostname: localhost # workaround for short hostname

env:
global:
- MALLOC_ARENA_MAX=2

matrix:
include:
- name: JDK8 - Run all excluding model-intest
script: mvn install -B -DskipTests; mvn verify -DskipModelIntTest=true -DskipModelUnitTest=true
- name: JDK8 - Run only model-intest
script: mvn install -B -DskipTests; mvn verify -pl :model-intest
80 changes: 77 additions & 3 deletions build-system/pom.xml
Expand Up @@ -89,11 +89,11 @@
<wro4j.version>1.8.0</wro4j.version>
<jackson.version>2.9.5</jackson.version>
<snakeyaml.version>1.19</snakeyaml.version>
<surefire.version>2.22.1</surefire.version>
<surefire.version>3.0.0-M2</surefire.version>
<reflections.version>0.9.11</reflections.version>
<guava.version>20.0</guava.version>
<jcommander.version>1.72</jcommander.version>
<failsafe.version>2.22.0</failsafe.version>
<failsafe.version>3.0.0-M2</failsafe.version>
<antrun.version>1.8</antrun.version>
</properties>
<dependencyManagement>
Expand Down Expand Up @@ -1427,6 +1427,7 @@
</properties>
</configuration>
</execution>
<!--
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
Expand All @@ -1444,11 +1445,12 @@
</property>
<property>
<name>usedefaultlisteners</name>
<value>false</value> <!-- do not generate HTML to make the runs faster -->
<value>false</value>
</property>
</properties>
</configuration>
</execution>
-->
</executions>
<configuration>
<parallel>false</parallel>
Expand Down Expand Up @@ -1492,6 +1494,50 @@
</dependency>
</dependencies>
</plugin>

<plugin>
<!--
<parallel>false</parallel>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${failsafe.version}</version>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<systemPropertyVariables>
<javax.net.ssl.trustStore>src/test/resources/truststore.jks</javax.net.ssl.trustStore>
<midpoint.home>target/midpoint-home</midpoint.home>
<java.util.logging.config.file>${project.build.directory}/test-classes/logging.properties</java.util.logging.config.file>
</systemPropertyVariables>
<argLine>-Xms1024m -Xmx4096m -Duser.language=en</argLine>
<suiteXmlFiles>
<suiteXmlFile>testng-integration.xml</suiteXmlFile>
</suiteXmlFiles>
<properties>
<property>
<name>suitename</name>
<value>Integration</value>
</property>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
</properties>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
Expand Down Expand Up @@ -1626,6 +1672,13 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${failsafe.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand All @@ -1641,6 +1694,13 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${failsafe.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand All @@ -1656,6 +1716,13 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${failsafe.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand All @@ -1671,6 +1738,13 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${failsafe.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 289ab97

Please sign in to comment.