diff options
author | tobiasKaminsky <tobias@kaminsky.me> | 2018-09-07 14:11:47 +0300 |
---|---|---|
committer | tobiasKaminsky <tobias@kaminsky.me> | 2018-09-07 15:32:51 +0300 |
commit | 22142f191510ee02fb981c95b251a69c52e68be9 (patch) | |
tree | 5418ccce523631104ee0126d158be4afbcad7b77 /.drone.yml | |
parent | 3c3769432b0ea6fb9769f0f721ff80fe5081c279 (diff) |
Findbugs, lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.drone.yml b/.drone.yml index 7a60a45eb..37631c3e0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,23 +1,23 @@ pipeline: compile: - image: nextcloudci/android:android-33 + image: nextcloudci/android:android-35 commands: # build app and assemble APK - - sh -c "if [ '${FLAVOR}' != 'Lint' ]; then ./gradlew assemble${FLAVOR}; fi" + - sh -c "if [ '${FLAVOR}' != 'Analysis' ]; then ./gradlew assemble${FLAVOR}; fi" when: matrix: FLAVOR: [Generic, Gplay] - lint: - image: nextcloudci/android:android-33 + analysis: + image: nextcloudci/android:android-37 commands: - - export BRANCH=$(scripts/lint/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST) - - scripts/lint/lint-up-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER + - export BRANCH=$(scripts/analysis/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST) + - scripts/analysis/analysis-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST secrets: [ GIT_USERNAME, GIT_TOKEN, LOG_USERNAME, LOG_PASSWORD ] when: matrix: - FLAVOR: Lint - + FLAVOR: Analysis + notify: image: drillster/drone-email host: $EMAIL_HOST @@ -37,6 +37,6 @@ matrix: FLAVOR: - Generic - Gplay - - Lint + - Analysis branches: master |