From: negativeExponent Date: Sat, 8 Feb 2020 17:21:50 +0000 (+0800) Subject: Update .travis.yml X-Git-Tag: r24l~679^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=532c220f328572446ca235a0ce7df576e6987e44;p=pcsx_rearmed.git Update .travis.yml --- diff --git a/.travis.yml b/.travis.yml index e2b09276..182b90de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,33 @@ -language: cpp -compiler: - - gcc - - clang -before_install: - - sudo apt-get update -qq - - sudo apt-get install -y libsdl1.2-dev libasound2-dev libpng-dev libz-dev -script: ./configure --platform=libretro && make +language: generic +os: linux +dist: trusty +sudo: required +addons: + apt: + packages: + - g++-7 + sources: + - ubuntu-toolchain-r-test +env: + global: + - CORE=pcsx_rearmed + - COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7 + matrix: + - PLATFORM=3ds + - PLATFORM=linux_x64 +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