[CI] Parallelize all jobs
This commit is contained in:
parent
3e8e8c47c8
commit
e26e18a8d4
|
@ -6,35 +6,20 @@ before_script:
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build-and-test
|
||||||
- test
|
- test
|
||||||
|
|
||||||
assembleDebug:
|
assembleDebug:
|
||||||
stage: build
|
stage: build-and-test
|
||||||
script:
|
script:
|
||||||
- ./gradlew assembleDebug
|
- ./gradlew assembleDebug
|
||||||
cache:
|
|
||||||
key: "$CI_COMMIT_SHA"
|
|
||||||
paths:
|
|
||||||
- app/build/outputs/
|
|
||||||
policy: push
|
|
||||||
|
|
||||||
lintDebug:
|
lintDebug:
|
||||||
stage: test
|
stage: build-and-test
|
||||||
cache:
|
|
||||||
key: "$CI_COMMIT_SHA"
|
|
||||||
paths:
|
|
||||||
- app/build/outputs/
|
|
||||||
policy: pull
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew -Pci --console=plain :app:lintFdroidDebug -PbuildDir=lint
|
- ./gradlew -Pci --console=plain :app:lintFdroidDebug -PbuildDir=lint
|
||||||
|
|
||||||
debugTests:
|
debugTests:
|
||||||
stage: test
|
stage: build-and-test
|
||||||
cache:
|
|
||||||
key: "$CI_COMMIT_SHA"
|
|
||||||
paths:
|
|
||||||
- app/build/outputs/
|
|
||||||
policy: pull
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew -Pci --console=plain :app:testFdroidDebugUnitTest
|
- ./gradlew -Pci --console=plain :app:testFdroidDebugUnitTest
|
||||||
|
|
Loading…
Reference in New Issue