language: cpp
compiler: gcc
sudo: true

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

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

script:
  - premake-core/bin/release/premake5 --travis gmake
  - cd build
  - make
  - cd ../bin && LD_LIBRARY_PATH=. ./UnitTestd


dist: bionic
language: cpp
compiler: gcc
sudo: true

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - gcc-7
    - cmake
    - zlib1g-dev
    - libsdl1.2-dev
    - libssl-dev
    - libglew-dev
    - libfreetype6-dev
    - libtinyxml-dev
    - libunittest++-dev

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

script:
  - premake-core/bin/release/premake5 --travis gmake
  - cd build
  - make
  - cd ../bin && LD_LIBRARY_PATH=. ./UnitTestd


Use newer Travis environment for C++ 17 support
Use newer Travis environment for C++ 17 support