1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-11-23 16:56:10 -06:00
wulkanowy-mirror/.gitlab-ci.yml
Rafał Borcz e5ea6e0b41 Refactorization of the app (#31)
* Refactor LoadingTask
* Remove LoadingTask class
* Fix context leak in LoginTask
* Refactorisation GradesFragment
* Refactorization synchronization
* Fix leak in VulcanService
* Update mockito
* Add more tests for EntitiesCompare
* Fix Instant Run
* Add margin to grades
* Update ci android image
2017-11-06 17:25:38 +01:00

46 lines
903 B
YAML

image: circleci/android:api-27-alpha
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
build:
stage: build
cache:
key: "v1-$CI_COMMIT_REF_NAME"
paths:
- .gradle
script:
- ./gradlew --no-daemon --stacktrace dependencies || true
- ./gradlew --no-daemon --stacktrace assembleDebug
- mv app/build/outputs/apk/app-debug.apk .
artifacts:
name: "${CI_PROJECT_NAME}_${CI_BUILD_REF_NAME}-${CI_BUILD_ID}"
paths:
- app-debug.apk
tests:
stage: test
cache:
key: "v1-$CI_COMMIT_REF_NAME"
paths:
- .gradle
policy: pull
script:
- ./gradlew --no-daemon --stacktrace test
artifacts:
paths:
- app/build/reports/tests
lint:
stage: test
cache:
key: "v1-$CI_COMMIT_REF_NAME"
paths:
- .gradle
policy: pull
script:
- ./gradlew --no-daemon --stacktrace lint
artifacts:
paths:
- app/build/reports