Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Building DualBootPatcher using TravisCI

Youssif Shaaban Alsager edited this page Dec 29, 2017 · 3 revisions

Travis CI is free open-source continues integration service, which simply take your project from GitHub and test / build it for you! It's amazing solution if you don't have time/free space to test your code.

How to build DualBootPatcher using TravisCI?

  1. You'll need to signup Travis account, go here and press signup, enter your GitHub account details then approve Travis needed permissions and done.
  2. Now Fork DualBootPatcher repository to your account and create .travis.yml file in project root.
  3. Copy my Travis configuration to your ".travis.yml"
  4. Edit line 8 with your Repository and branch you want to build.

- git clone https://github.com/yshalsager/DualBootPatcher -b master ${TRAVIS_BUILD_DIR}/DualBootPatcher/

  1. This simple TravisCI configuration builds both of apk and utilities.zip and deploy them to transfer.sh
  2. Now open Travis and add your DualBootPatcher fork to projects and start building
  3. You'll find built apk md5 and links at the end of Travis log.
  4. Build takes about 25 mins.
  5. When you add new commits to repository Travis will always build new apk for you !
  6. If you want to change something in configuration, always check its syntax to make sure it's valid YAML using this site.