language: cpp

compiler:
  - clang
  - gcc

os:
  - linux

sudo: required
dist: trusty

git:
  depth: 1

addons:
  apt:
    packages:
    - mesa-common-dev
    - swig
    - libsdl2-dev
    - libsdl2-image-dev
    - libsdl2-ttf-dev
    - libfreetype6-dev
    - libxcursor-dev
    - libopenal-dev
    - libasound2-dev
    - zlib1g-dev
    - libboost-dev
    - libboost-regex-dev
    - libboost-system-dev
    - libboost-filesystem-dev
    - libboost-test-dev

before_install:
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get -qq update && sudo apt-get install -y libgle3-dev liballegro5-dev libvorbis-dev libalut-dev; fi

install:
    - git clone --quiet --depth 1 git://github.com/fifengine/fifechan.git
    # https://github.com/fifengine/fifechan/blob/master/INSTALL.md
    - cd fifechan
    - cmake .
    - make
    - sudo make install
    - cd ..

before_script:
  - scons

script:
  - make
  - sudo make install

notifications:
  irc: "irc.freenode.org#fife"
  email: false

language: cpp

compiler:
  - clang
  - gcc

os:
  - linux

sudo: required
dist: trusty

git:
  depth: 1

addons:
  apt:
    packages:
    - mesa-common-dev
    - swig
    - libsdl2-dev
    - libsdl2-image-dev
    - libsdl2-ttf-dev
    - libfreetype6-dev
    - libxcursor-dev
    - libopenal-dev
    - libasound2-dev
    - zlib1g-dev
    - libboost-dev
    - libboost-regex-dev
    - libboost-system-dev
    - libboost-filesystem-dev
    - libboost-test-dev

before_install:
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get -qq update && sudo apt-get install -y libgle3-dev liballegro5-dev libvorbis-dev libalut-dev; fi

install:
    - git clone --quiet --depth 1 git://github.com/fifengine/fifechan.git
    # https://github.com/fifengine/fifechan/blob/master/INSTALL.md
    - cd fifechan
    - cmake .
    - make
    - sudo make install
    - cd ..

script:
  - sudo scons install-all

notifications:
  irc: "irc.freenode.org#fife"
  email: false

Use install-all target for scons
Use install-all target for scons
