Skip to content

Commit

Permalink
CI: use our docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
yshalsager committed Jun 25, 2018
1 parent 8665398 commit f314765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: required
services:
- docker
before_install:
- docker pull yshalsager/cyanogenmod:latest
- docker pull surendrajat/twrp-builder:latest
before_script:
- cd $HOME && mkdir twrp
- wget -q https://github.com/TwrpBuilder/twrp-sources/releases/download/omni_twrp-5.1.1-20180211/omni_twrp-5.1.1-20180211-norepo.tar.xz
Expand All @@ -13,7 +13,7 @@ script:
- git clone https://github.com/TwrpBuilder/device_generic_twrpbuilder.git device/generic/twrpbuilder
- rm -rf bootable/recovery && git clone https://github.com/omnirom/android_bootable_recovery.git bootable/recovery
- |
docker run --rm -i -e USER_ID=$(id -u) -e GROUP_ID=$(id -g) -v "$(pwd):/home/cmbuild/twrp/:rw,z" yshalsager/cyanogenmod bash << EOF
docker run --rm -i -e USER_ID=$(id -u) -e GROUP_ID=$(id -g) -v "$(pwd):/home/cmbuild/twrp/:rw,z" surendrajat/twrp-builder bash << EOF
cd /home/cmbuild/twrp/
source build/envsetup.sh && lunch omni_Rome-userdebug && make -j16 recoveryimage
exit
Expand Down

0 comments on commit f314765

Please sign in to comment.