Last active
April 12, 2016 11:48
-
-
Save calvinbui/02ac85910317981c89ae9347b7e74172 to your computer and use it in GitHub Desktop.
Build file for Loadiine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: c | |
sudo: false | |
branches: | |
except: | |
- /(untagged)/ | |
cache: | |
apt: true | |
directories: | |
- /home/travis/devkitPro | |
before_cache: | |
- rm -rf $DEVKITPRO/*.7z | |
- rm -rf $DEVKITPRO/*.bz2 | |
- rm -rf $DEVKITPRO/examples | |
addons: | |
apt: | |
packages: | |
- p7zip-full | |
- zip | |
before_install: | |
- export DEVKITPRO=/home/travis/devkitPro | |
- export DEVKITPPC=${DEVKITPRO}/devkitPPC | |
- mkdir -p $DEVKITPRO | |
- cd $DEVKITPRO | |
- wget -N http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitPPCupdate.pl | |
- wget -N https://github.com/dimok789/loadiine_gx2/releases/download/v0.2/libogc.7z | |
- wget -N https://github.com/dimok789/loadiine_gx2/releases/download/v0.2/portlibs.7z | |
install: | |
- cd $DEVKITPRO | |
- perl devkitPPCupdate.pl | |
- 7z x -y libogc.7z | |
- 7z x -y portlibs.7z | |
- cp -R portlibs/ppc/* devkitPPC/ | |
before_script: | |
- cd $TRAVIS_BUILD_DIR/ | |
script: | |
- make | |
before_deploy: | |
- cd $TRAVIS_BUILD_DIR/ | |
- commit="$(git rev-parse --short=7 origin/master~1)" | |
- zip loadiine_gx2_$commit.zip loadiine_gx2.elf | |
deploy: | |
skip_cleanup: true | |
provider: releases | |
api_key: | |
secure: Kp4KckAmDaOPCF6FCYKgtN79ZF796jqooGZWiYs/OGJM+da8DBdFVkRaPiB/CAVp32YkM2nMSD3jdY8I3sn3cRuCVUOsnQMUghvcEPC6kFa+APNSV3dsK+x06OUwnQI4nqm45ncJKl5yxkjInz71odFTbhlV89ufAzlBf25zUt1z1sczhwYs0tDYyBFiJaeD/InUng8CghG4hPM/lT2IBhYeSNe94RMgQatuHwb8leJriq0akAl+HIbJv+Yuuf7LUy4QPf2fMUx8AOqPbgnLT2RwJhu5KrruKn7cyql30UQayWEUrHAdEwGheOPg5+OeYBn1zjksr9gaH4ttFrdqBMaLtpZeKq6b+qJGY14dnbN80Di1rFNoIlhqLmZTX2iwKOl0ydD/UwNQOJS5vX0izat38FbB9fSDrybbk0bckVvXGDMCeNsHJ5iJiV9IAHSq9q8lcAcE5dZriFoapyxS5jK1uuoBWWLWztUx7Cyn11TRqpcSGSDRRsfn/PISi9FrxUuc7iLCg6MOvf4paV48gyD9CXsyUYc6hV917UYWOjE0yW+0iWknJL50BGIxhvovFpv0p/GYbPXFBggNB43/tSASYoiohDM7+xI2Z8s8Q/BpNnLjJZzswgdZKv8lbfz+Vnb5lY/zItOQ2LtNvKcsJtV/zFz+fhznXIOKsDI7Bh0= | |
file: loadiine_gx2_$commit.zip | |
on: | |
repo: calvinbui/loadiine_gx2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment