Browse Source

update ci

main
Distopico Vegan 5 years ago
parent
commit
a04a632db6
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      .gitlab-ci.yml

+ 8
- 4
.gitlab-ci.yml View File

@ -42,6 +42,7 @@ lintAll:
except: except:
- master - master
script: script:
- echo ""
#- ./gradlew --console=plain lint #- ./gradlew --console=plain lint
#- ./gradlew --console=plain checkstyle #- ./gradlew --console=plain checkstyle
@ -50,14 +51,16 @@ lintRelease:
only: only:
- master - master
script: script:
- ./gradlew --console=plain lintRelease
- ./gradlew --console=plain checkstyle
- echo ""
#- ./gradlew --console=plain lintRelease
#- ./gradlew --console=plain checkstyle
testAll: testAll:
stage: test stage: test
except: except:
- master - master
script: script:
- echo ""
#- ./gradlew --console=plain test #- ./gradlew --console=plain test
testRelease: testRelease:
@ -76,14 +79,15 @@ buildDebug:
artifacts: artifacts:
expire_in: 1 week expire_in: 1 week
paths: paths:
#- app/build/outputs/
- app/build/outputs/
buildRelease: buildRelease:
stage: build stage: build
only: only:
- master - master
script: script:
- ./gradlew assembleRelease
- echo ""
#- ./gradlew assembleRelease
artifacts: artifacts:
expire_in: 1 week expire_in: 1 week
paths: paths:


Loading…
Cancel
Save