Commit f14f6e3a authored by Matyáš Latner's avatar Matyáš Latner

#653 Separate build stages to build and unitTest

parent 2602fed1
......@@ -4,27 +4,42 @@ before_script:
stages:
- build
- unitTest
debug:
stage: build
except:
- release
script:
- ./gradlew clean build test -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew clean build -PTABLEXIA_ASSETS_UPLOAD=true
artifacts:
paths:
- android/build/outputs/apk/*debug*.apk
- desktop/build/libs/*debug*.jar
- ios/build/robovm/*debug*.ipa
debugUnitTest:
stage: unitTest
except:
- release
script:
- ./gradlew test
release:
stage: build
only:
- tags
script:
- ./gradlew clean build test -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew clean build -PTABLEXIA_ASSETS_UPLOAD=true
artifacts:
paths:
- android/build/outputs/apk/*release*.apk
- desktop/build/libs/*release*.jar
- ios/build/robovm/*release*.ipa
releaseUnitTest:
stage: unitTest
only:
- tags
script:
- ./gradlew test
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