Commit bf3bc15e authored by Niklaus Giger's avatar Niklaus Giger

[17753] Use skipTests in readme.textile and .travis.yml

parent 02b0a557
Pipeline #15350 passed with stages
in 8 minutes and 44 seconds
......@@ -4,7 +4,7 @@ dist: xenial # we need xenial to have mysql 5.7
language: java
install: mvn -V -DskipTests=true -Dmaven.javadoc.skip=true -B validate
install: mvn -V -DskipTests -Dmaven.javadoc.skip=true -B validate
matrix:
include:
......@@ -19,7 +19,7 @@ matrix:
- name: "French"
script:
- mvn -V --quiet clean verify -Dall-archs=true -DNL=$NL --fail-at-end clean verify -DskipTests
- mvn -V --quiet clean verify -Dtycho.localArtifacts=ignore -DNL=$NL -DskipTests
notifications:
email:
......
......@@ -34,14 +34,14 @@ java --version # should now show a Java 8 version
@git clone https://github.com/elexis/elexis-3-core@
@mvn -V clean verify -Dtycho.localArtifacts=ignore -Dmaven.test.skip=true@
@mvn -V clean verify -Dtycho.localArtifacts=ignore -DskipTests@
Explanation of the used options
* -V: emits version of Java, Maven, GUI-Toolkit, Architecture. Handy when you ask a problem
* clean: Build everything from scratch
* verify: Compile, test and build a P2-site including products. But does NOT install maven artefacts
* -Dtycho.localArtifacts=ignore: Do not use any locally built maven artefacts
* -Dmaven.test.skip=true: Skip unit tests (Use it only if you want to speed up the build)
* -DskipTests: Skip unit tests (Use it only if you want to speed up the build)
* --quiet: Used for travis builds to generate Quiet output - only show errors. Without it the log would bee too long and make the travis-build fail.
It will be built for your OS/Window-System/Architecture combination. You will find the executables under @ch.elexis.core.p2site/target/products/ch.elexis.core.application.ElexisApp/*/*/*@
......@@ -51,7 +51,7 @@ Note: This will fail in MacOSX. Build instructions for Mac:
@Install Homebrew@
@brew install homebrew/versions/maven30@
@git clone https://github.com/elexis/elexis-3-core@
@mvn clean install -Dmaven.test.skip=true@
@mvn clean install -DskipTests@
h3. Continuos Intergration builds
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment