add travis build script

This commit is contained in:
Brad Parker 2017-10-23 18:33:14 -04:00
parent 2c8af6348a
commit 986936b024
1 changed files with 35 additions and 0 deletions

35
.travis.yml Normal file
View File

@ -0,0 +1,35 @@
language: generic
os: linux
dist: trusty
sudo: required
addons:
apt:
packages:
- g++-7
sources:
- ubuntu-toolchain-r-test
env:
global:
- CORE=genesis_plus_gx
- COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
matrix:
- PLATFORM=linux_x64
- PLATFORM=ngc
- PLATFORM=wii
- PLATFORM=wiiu
before_script:
- pwd
- mkdir -p ~/bin
- ln -s /usr/bin/gcc-7 ~/bin/gcc
- ln -s /usr/bin/g++-7 ~/bin/g++
- ln -s /usr/bin/cpp-7 ~/bin/cpp
- export PATH=~/bin:$PATH
- ls -l ~/bin
- echo $PATH
- g++-7 --version
- g++ --version
script:
- cd ~/
- git clone --depth=50 https://github.com/libretro/libretro-super
- cd libretro-super/travis
- ./build.sh