Shippable is an online CI service which provides packaging, continuous integration, continuous delivery and continuous deployment services.
Shippable runs builds on Docker-based containers. It provides default containers with minimum required tools. It's also possible to use custom Docker images to meet project requirements. Check docs for more info.
Shippable is not mobile oriented CI service, but it's possible to build Android projects using this service.
-
Import the project from source control.
-
Create
shippable.yml
in root directory of a project. It's a configuration file which describes build steps. More info about configuration file can found here. -
Create secure environment variables
Variables should be separated with space.
This operation creates environment variables and stores them in a secure place. Shippable provides secure string with encrypted variables, which should be used in
shippable.yml
orshippable.resources.yml
files.Copy encrypted string and place it into
shippable.yml
: -
Choose existing docker image to use or create your own and define it in
shippable.yml
:It's good idea to check what provides docker image by checking it's Dockerfile (vgaidarji/docker-android-shippable).
-
Configure build steps in
shippable.yml
:In this case we install missing Android dependencies, run Android emulator,
build/test/analyze
the project and publish code coverage results to Shippable. Shippable accepts code coverage reports only in Cobertura format. -
Configure notifications: