mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2025-01-23 22:41:22 +01:00
Simplify the travis script using docker
This commit is contained in:
parent
3b831bbbda
commit
d6995a98bb
36
.travis.yml
36
.travis.yml
@ -1,33 +1,7 @@
|
||||
language: cpp
|
||||
sudo: required
|
||||
|
||||
os: linux
|
||||
sudo: false
|
||||
dist: trusty
|
||||
|
||||
env:
|
||||
global:
|
||||
- DEVKITPRO=/opt/devkitpro
|
||||
- DEVKITPPC=/opt/devkitpro/devkitPPC
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.local"
|
||||
- "$DEVKITPRO"
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- p7zip-full
|
||||
|
||||
before_install:
|
||||
- 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 --needed
|
||||
- yes | sudo dkp-pacman -Syu general-tools --needed
|
||||
|
||||
before_script:
|
||||
- cd $TRAVIS_BUILD_DIR/
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
script:
|
||||
- make && make install
|
||||
- docker run -it --rm -v ${PWD}:/project wiiulegacy/core:0.1 /bin/bash -c "(cd project && make clean && make)"
|
Loading…
x
Reference in New Issue
Block a user