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