aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorBrad Parker2017-10-23 18:33:43 -0400
committerBrad Parker2017-10-23 18:33:43 -0400
commitf0a0a266a036f083da4600dc3b43e820651230f0 (patch)
treedba61c9b13b3795dcfd59dfda2703a17c6beed84 /.travis.yml
parenta397e9d13c8c3163e6fd68669c367a866f543d07 (diff)
downloadsnes9x2005-f0a0a266a036f083da4600dc3b43e820651230f0.tar.gz
snes9x2005-f0a0a266a036f083da4600dc3b43e820651230f0.tar.bz2
snes9x2005-f0a0a266a036f083da4600dc3b43e820651230f0.zip
add travis build script
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..710d691
--- /dev/null
+++ b/.travis.yml
@@ -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=snes9x2005
+ - 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