language: cpp
dist: trusty
os: linux

env:
  - DEVKITPRO="/home/travis/devkitPro" DEVKITARM="${DEVKITPRO}/devkitARM"

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y perl libsdl2-2.0-0 build-essential

install:
  - curl -L "https://downloads.sourceforge.net/project/devkitpro/Automated%20Installer/devkitARMupdate.pl?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fdevkitpro%2Ffiles%2FAutomated%2520Installer%2F&ts=1492550050&use_mirror=freefr" > devkitARMupdate.pl
  - chmod +x devkitARMupdate.pl && ./devkitARMupdate.pl
  - curl -L "https://github.com/citra-emu/citra-nightly/releases/download/nightly-111/citra-linux-20170418-941a3dd.tar.xz" > /tmp/citra.tar.xz
  - mkdir -p ~/Applications
  - tar xpvf /tmp/citra.tar.xz -C ~/Applications
  - mkdir ~/bin
  - ln -s ~/Applications/citra-linux-20170418-941a3dd/citra ~/bin

script: ./travisscript.sh
language: cpp
dist: trusty
os: linux

env:
  - DEVKITPRO="/home/travis/devkitPro" DEVKITARM="${DEVKITPRO}/devkitARM"

before_install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
  - sudo apt-get -qq update
  - sudo apt-get install -y perl libsdl2-2.0-0 build-essential qtbase5-dev libqt5opengl5-dev

install:
  - curl -L "https://downloads.sourceforge.net/project/devkitpro/Automated%20Installer/devkitARMupdate.pl?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fdevkitpro%2Ffiles%2FAutomated%2520Installer%2F&ts=1492550050&use_mirror=freefr" > devkitARMupdate.pl
  - chmod +x devkitARMupdate.pl && ./devkitARMupdate.pl
  - curl -L "https://github.com/citra-emu/citra-nightly/releases/download/nightly-111/citra-linux-20170418-941a3dd.tar.xz" > /tmp/citra.tar.xz
  - mkdir -p ~/Applications
  - tar xpvf /tmp/citra.tar.xz -C ~/Applications
  - mkdir ~/bin
  - ln -s ~/Applications/citra-linux-20170418-941a3dd/citra ~/bin

script: ./travisscript.sh
Add citra dependencies through ppa
Add citra dependencies through ppa
