Project Setup

Continuous Integration

Tests should run on Drone as part of the build process.

Steps to run on Drone:

build:
    image: registry.vokal.io/android
    volumes:
        - /home/ubuntu/android_build/android-sdk:/usr/local/android-sdk
        - /home/ubuntu/.android:/root/.android
    commands:
        - ./gradlew build deviceCheck
        - curl -sSL https://secure.vokal.io/new | sh
publish:
    script:
        image: vokal/drone-android-publish
        apiToken: $$hockeyApiToken
        path: app/build/outputs/apk/<name of debug>.apk

Artifactory Setup

artifactory_user=[insert user provided]
artifactory_passord=[insert password provided]
...
    jcenter()
    maven {
        url 'http://artifactory.vokal.io/artifactory/<repository>'
        credentials {
            username = "${artifactory_user}"
            password = "${artifactory_password}"
        }
    }