aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 3f95faf3f3dbfeb4ae1458a22b1fbf35c721c3c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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=3ds
    - 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