Docker image for continuous integration with Android SDK.
You can use this docker image directly from Docker Hub with livexp/android-sdk:latest
.
You can use the script docker-android-sdk-install
to easily add new dependency to Android SDK.
image: livexp/android-sdk:latest
before_script:
- java -version
- docker-android-sdk-install "build-tools;26.0.1" "extras;android;m2repository" "extras;google;m2repository"
junit-android:
stage: test
script:
- ./gradlew test
artifacts:
paths:
- app/build/reports/tests