| 1 | language: generic |
| 2 | os: linux |
| 3 | dist: trusty |
| 4 | sudo: required |
| 5 | addons: |
| 6 | apt: |
| 7 | packages: |
| 8 | - g++-7 |
| 9 | sources: |
| 10 | - ubuntu-toolchain-r-test |
| 11 | env: |
| 12 | global: |
| 13 | - CORE=pcsx_rearmed |
| 14 | - COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7 |
| 15 | matrix: |
| 16 | - PLATFORM=3ds |
| 17 | - PLATFORM=linux_x64 |
| 18 | before_script: |
| 19 | - pwd |
| 20 | - mkdir -p ~/bin |
| 21 | - ln -s /usr/bin/gcc-7 ~/bin/gcc |
| 22 | - ln -s /usr/bin/g++-7 ~/bin/g++ |
| 23 | - ln -s /usr/bin/cpp-7 ~/bin/cpp |
| 24 | - export PATH=~/bin:$PATH |
| 25 | - ls -l ~/bin |
| 26 | - echo $PATH |
| 27 | - g++-7 --version |
| 28 | - g++ --version |
| 29 | script: |
| 30 | - cd ~/ |
| 31 | - git clone --depth=50 https://github.com/libretro/libretro-super |
| 32 | - cd libretro-super/travis |
| 33 | - ./build.sh |