Commit 3078114a authored by Matija Obreza's avatar Matija Obreza

Skip tests against GLIS test and production environments

parent b7da3430
......@@ -6,10 +6,10 @@ run tests in branches:
stage: compile
image: maven:3-jdk-8
before_script:
- echo "Using username ${GLISTEST_USERNAME} for authentication against https://glistest.planttreaty.org"
- echo "Using username ${GLIS_USERNAME} for authentication against https://ssl.fao.org"
# - echo "Using username ${GLISTEST_USERNAME} for authentication against https://glistest.planttreaty.org"
# - echo "Using username ${GLIS_USERNAME} for authentication against https://ssl.fao.org"
script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B -U -DskipTests=false
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B -U -DskipTests=true
except:
- master
- tags
......@@ -20,10 +20,10 @@ publish snapshot artifacts:
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
- echo "Using username ${GLISTEST_USERNAME} for authentication against https://glistest.planttreaty.org"
- echo "Using username ${GLIS_USERNAME} for authentication against https://ssl.fao.org"
# - echo "Using username ${GLISTEST_USERNAME} for authentication against https://glistest.planttreaty.org"
# - echo "Using username ${GLIS_USERNAME} for authentication against https://ssl.fao.org"
script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn clean deploy -B -U --settings .ci-maven-settings.xml -B -U -DskipTests=false
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn clean deploy -B -U --settings .ci-maven-settings.xml -B -U -DskipTests=true
only:
- master
......@@ -33,9 +33,9 @@ publish artifacts to central:
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
- echo "Using username ${GLISTEST_USERNAME} for authentication against https://glistest.planttreaty.org"
- echo "Using username ${GLIS_USERNAME} for authentication against https://ssl.fao.org"
# - echo "Using username ${GLISTEST_USERNAME} for authentication against https://glistest.planttreaty.org"
# - echo "Using username ${GLIS_USERNAME} for authentication against https://ssl.fao.org"
script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U -DskipTests=false
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U -DskipTests=true
only:
- /^glis\-client\-/
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