dynamic_libs/.travis.yml

34 lines
772 B
YAML
Raw Normal View History

language: cpp
2017-11-14 03:57:36 +01:00
os: linux
sudo: false
dist: trusty
2017-11-14 03:57:36 +01:00
env:
global:
2018-05-26 13:06:46 +02:00
- DEVKITPRO=/opt/devkitpro
- DEVKITPPC=/opt/devkitpro/devkitPPC
- PORTLIBREPOS=$HOME/portlibrepos
2017-11-14 03:57:36 +01:00
cache:
directories:
- "$HOME/.local"
2018-05-26 13:06:46 +02:00
- "$DEVKITPRO"
2017-11-14 03:57:36 +01:00
addons:
apt:
packages:
- p7zip-full
before_install:
2017-12-16 11:12:28 +01:00
- mkdir -p "${DEVKITPRO}"
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo dpkg -i /tmp/devkitpro-pacman.deb; fi
- yes | sudo dkp-pacman -Syu devkitPPC
2017-11-14 03:57:36 +01:00
install:
2018-05-26 13:06:46 +02:00
- rm -rf $DEVKITPRO/portlibs
2017-11-14 03:57:36 +01:00
- 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
script:
2018-05-26 13:06:46 +02:00
- make && make install