Browse Source

change to main

main
Distopico Vegan 4 years ago
parent
commit
c11d817b7f
No known key found for this signature in database GPG Key ID: 98093A8072546BF3
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      .gitlab-ci.yml

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

@ -40,7 +40,7 @@ before_script:
lintAll: lintAll:
stage: test stage: test
except: except:
- master
- main
script: script:
- ./gradlew --console=plain lint - ./gradlew --console=plain lint
- ./gradlew --console=plain checkstyle - ./gradlew --console=plain checkstyle
@ -48,7 +48,7 @@ lintAll:
lintRelease: lintRelease:
stage: test stage: test
only: only:
- master
- main
script: script:
- ./gradlew --console=plain lintRelease - ./gradlew --console=plain lintRelease
- ./gradlew --console=plain checkstyle - ./gradlew --console=plain checkstyle
@ -56,21 +56,21 @@ lintRelease:
testAll: testAll:
stage: test stage: test
except: except:
- master
- main
script: script:
- ./gradlew --console=plain test - ./gradlew --console=plain test
testRelease: testRelease:
stage: test stage: test
only: only:
- master
- main
script: script:
- ./gradlew --console=plain testReleaseUnitTest - ./gradlew --console=plain testReleaseUnitTest
buildDebug: buildDebug:
stage: build stage: build
except: except:
- master
- main
script: script:
- ./gradlew assembleDebug - ./gradlew assembleDebug
artifacts: artifacts:
@ -81,7 +81,7 @@ buildDebug:
buildRelease: buildRelease:
stage: build stage: build
only: only:
- master
- main
script: script:
- ./gradlew assembleRelease - ./gradlew assembleRelease
artifacts: artifacts:
@ -92,7 +92,7 @@ buildRelease:
release: release:
stage: deploy stage: deploy
only: only:
- master
- main
before_script: before_script:
- apt-get update -qq && apt-get install -y -qq pandoc wget - apt-get update -qq && apt-get install -y -qq pandoc wget
- wget --quiet --output-document=/tmp/nvm-install.sh https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh - wget --quiet --output-document=/tmp/nvm-install.sh https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh
@ -109,5 +109,5 @@ release:
- semantic-release - semantic-release
- git fetch - git fetch
- git checkout develop - git checkout develop
- git rebase origin/master
- git rebase origin/main
- git push git@${GITLAB_URL}:${CI_PROJECT_PATH}.git develop - git push git@${GITLAB_URL}:${CI_PROJECT_PATH}.git develop

Loading…
Cancel
Save