From bef9273aed6b079384ef6091d42e2eecc73610c3 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Mon, 23 Oct 2017 18:33:11 -0400 Subject: [PATCH] add travis build script --- .travis.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ee26741 --- /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=gambatte + - 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