language: cpp
compiler: gcc
sudo: true

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - gcc-4.9
    - g++-4.9
    - cmake
    - zlib1g-dev
    - libsdl1.2-dev
    - libfreetype6-dev
    - libunittest++-dev

before_install:
  - ./projects/install-libzip.sh
  - ./projects/install-premake5.sh
  - ./projects/install-box2d.sh
  - export CXX="g++-4.9" CC="gcc-4.9"

script:
  - premake-5.0.0-alpha6/bin/release/premake5 --travis --with-libzip=../libzip-1.0.1 --with-box2d=../Box2D-master gmake
  - cd build
  - make
  - cd ../bin && ./UnitTestd


language: cpp
compiler: gcc
sudo: true

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - gcc-4.9
    - g++-4.9
    - cmake
    - zlib1g-dev
    - libsdl1.2-dev
    - libfreetype6-dev
    - libunittest++-dev

before_install:
  - ./projects/install-libzip.sh
  - ./projects/install-premake5.sh
  - ./projects/install-box2d.sh
  - export CXX="g++-4.9" CC="gcc-4.9"

script:
  - premake-5.0.0-alpha6/bin/release/premake5 --travis --with-libzip=../libzip-1.0.1 --with-box2d=../Box2D-master gmake
  - cd build
  - make
  - cd ../bin && LD_LIBRARY_PATH=. ./UnitTestd


Add library path such that shared libraries are found
Add library path such that shared libraries are found
