libgui/.travis.yml
2017-11-19 11:08:20 +01:00

47 lines
922 B
YAML

language: c
sudo: false
os:
- linux
env:
global:
- DEVKITPRO=$HOME/devkitPro
- DEVKITPPC=${DEVKITPRO}/devkitPPC
- DEVKITTMP=$HOME/tmpFolder
cache:
directories:
- ${DEVKITPRO}
addons:
apt:
packages:
- p7zip-full
before_install:
- mkdir -p $DEVKITPRO
- cd $DEVKITPRO
- wget https://raw.githubusercontent.com/Maschell/libgui/master/other/devkitPPCupdatePPCr29.pl
- mkdir -p $DEVKITTMP
- cd $DEVKITTMP
- git clone https://github.com/Maschell/dynamic_libs.git -b lib
- git clone https://github.com/Maschell/libutils.git
install:
- cd $DEVKITPRO
- perl devkitPPCupdatePPCr29.pl
- cd $DEVKITTMP/dynamic_libs
- 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
- make && make install
- cd $DEVKITTMP/libutils
- make && make install
- cd $TRAVIS_BUILD_DIR/
- 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
before_script:
- cd $TRAVIS_BUILD_DIR/
script:
- make