-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gitlab-ci' into develop
We now use gitlab-ci, mostly due to unresolvable OOM errors in Circle CI * gitlab-ci: README: Fix typo README: use gitlab CI badge Delete circle.yml. Add gitlab-ci.yml
- Loading branch information
Showing
3 changed files
with
29 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
image: circleci/android:api-27-alpha | ||
|
||
before_script: | ||
- export GRADLE_USER_HOME="$(pwd)/.gradle" | ||
- export GRADLE_OPTS='-Dorg.gradle.daemon=false' | ||
|
||
cache: | ||
paths: | ||
- .gradle | ||
|
||
stages: | ||
- build | ||
|
||
build: | ||
stage: build | ||
script: | ||
- ./gradlew assembleCiDebug | ||
- ./gradlew testCiDebugUnitTest | ||
- ./gradlew jacocoTestReportCiDebug | ||
- awk -F"," '{ instructions += $4 + $5; covered += $5 } END { print covered, "/", instructions, "instructions covered"; print 100*covered/instructions, "% covered" }' Calendula/build/reports/jacoco/ciDebug/jacoco.csv | ||
- if grep -r '* Created by' Calendula/src/; then exit 1; fi | ||
artifacts: | ||
paths: | ||
- Calendula/build/outputs/ | ||
- Calendula/build/reports/tests/ | ||
- Calendula/build/test-results/ | ||
- Calendula/build/reports/jacoco/ | ||
expire_in: 1 week |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.