From 9723b2f40046ec672d8aaed0ef58d441fddbd5a1 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 3 Feb 2018 17:03:36 +0100 Subject: [PATCH] [General] Added a travis script which currently tests the loader --- .travis.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..27cf6bc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +language: c +sudo: false + +os: + - linux + +env: + global: + - DEVKITPRO=$HOME/devkitPro + - DEVKITPPC=${DEVKITPRO}/devkitPPC + +cache: + directories: + - ${DEVKITPRO} + +before_install: + - mkdir -p "${DEVKITPRO}" + - wget http://download.sourceforge.net/devkitpro/devkitPPC_r29-1-x86_64-linux.tar.bz2 -O devkitPPC-linux.tar.bz2 + - wget https://github.com/Maschell/dynamic_libs/archive/lib.tar.gz -O dynamic_libs.tar.gz + - wget https://github.com/Maschell/libutils/archive/master.tar.gz -O libutils.tar.gz + +install: + - tar -xjf devkitPPC-linux.tar.bz2 -C ${DEVKITPRO}/ + - tar -xzvf dynamic_libs.tar.gz + - tar -xzvf libutils.tar.gz + - 7z x -y ./dynamic_libs-lib/libs/portlibs.zip -o${DEVKITPRO} + - (cd dynamic_libs-lib && make -j8 && make install) + - (cd libutils-master && make -j8 && make install) + +script: +- (cd loader && make) \ No newline at end of file