Skip to content
Snippets Groups Projects
Commit 9258797c authored by Hallvard Trætteberg's avatar Hallvard Trætteberg
Browse files

Added property for turning of ui tests, for issue #7

parent 9256e21a
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ cache:
variables:
MAVEN_OPTS: "-Djava.awt.headless=true -Dmaven.repo.local=.m2/repository"
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version"
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -Dskip-ui-tests=true"
build-job:
stage: build
......
......@@ -45,4 +45,21 @@
</dependency>
</dependencies>
<properties>
<skip-ui-tests>false</skip-ui-tests>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<configuration>
<skipTests>${skip-ui-tests}</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment