Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Issue #12: Use custom Docker image to build on taskcluster.
Browse files Browse the repository at this point in the history
  • Loading branch information
pocmo committed Mar 22, 2018
1 parent 5a46e1b commit 64e0436
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@ tasks:
payload:
maxRunTime: 3600
deadline: "{{ '2 hours' | $fromNow }}"
image: 'alvrme/alpine-android'
image: 'mozillamobile/android-components:1.0'
command:
- /bin/bash
- '--login'
- '-cx'
- >-
apk add --no-cache git
&& git clone {{ event.head.repo.url }}
&& cd android-components
&& touch local.properties
&& git fetch {{ event.head.repo.url }}
&& git config advice.detachedHead false
&& git checkout {{event.head.sha}}
&& ./gradlew --no-daemon clean assemble test detektCheck ktlint
Expand Down

0 comments on commit 64e0436

Please sign in to comment.