Skip to content

Latest commit

 

History

History
64 lines (37 loc) · 3.18 KB

SHIPPABLE.md

File metadata and controls

64 lines (37 loc) · 3.18 KB

Shippable

Run Status Coverage Badge

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.

How to build Android project on Shippable

  1. Import the project from source control.

  2. 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.

  3. 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 or shippable.resources.yml files.

    Copy encrypted string and place it into shippable.yml:

  4. 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).

  5. 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.

  6. Configure notifications:

Reports

JUnit test results:

Build information: