Skip to content

Commit

Permalink
build: remove check stage in gitlab build
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Oct 1, 2020
1 parent c0a8197 commit 0f6e942
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,18 @@ before_script:

stages:
- test
- check

java-8:
stage: test
image: openjdk:8
script: ./gradlew clean build
script: ./gradlew clean build dist

java-11:
stage: test
image: openjdk:11
script: ./gradlew clean build
script: ./gradlew clean build dist

java-latest:
stage: test
image: openjdk:latest
script: java -version && ./gradlew clean build

check:
stage: check
image: openjdk:8
script:
- export JADX_LAST_TAG="$(git describe --abbrev=0 --tags)"
- export JADX_VERSION="${JADX_LAST_TAG:1}-dev-$(git rev-parse --short HEAD)"
- ./gradlew clean sonarqube -Dsonar.host.url="${SONAR_HOST}" -Dsonar.projectKey=jadx -Dsonar.organization="${SONAR_ORG}" -Dsonar.login="${SONAR_TOKEN}" -Dsonar.branch.name=dev || echo "Skip sonar build and upload"
- ./gradlew clean dist
artifacts:
paths:
- build/jadx*.zip
script: java -version && ./gradlew clean build dist

0 comments on commit 0f6e942

Please sign in to comment.