language: cpp
sudo: false

branches:
  only:
    - master
    - develop
    - release

cache:
  directories:
    - $HOME/cmake

env:
  global:
    - BUILD_DIR_NAME=build
    - BUILD_TYPE='Release'

matrix:
  include:
    # 1 Linux GCC Builds
    - os: linux
      compiler: g++
      env: COMPILER='g++-4.8'
      addons:
        apt:
         sources: ['ubuntu-toolchain-r-test']
         packages: ['g++-4.8', 'libcurl4-openssl-dev']

    - os: linux
      compiler: g++
      env: COMPILER='g++-4.9'
      addons:
        apt:
          sources: ['ubuntu-toolchain-r-test']
          packages: ['g++-4.9', 'libcurl4-openssl-dev']

    - os: linux
      compiler: g++
      env: COMPILER='g++-5'
      addons:
        apt:
          sources: ['ubuntu-toolchain-r-test']
          packages: ['g++-5', 'libcurl4-openssl-dev']

before_install:
  - bash ./ci/install-deps.sh

install:
  - export CXX=${COMPILER}

before_script:
  - bash ./ci/configure.sh

script:
  - bash ./ci/run.sh

language: cpp
sudo: false

branches:
  only:
    - master
    - develop
    - release

cache:
  directories:
    - $HOME/cmake

env:
  global:
    - BUILD_DIR_NAME=build
    - BUILD_TYPE='Release'

matrix:
  include:
    - os: linux
      compiler: g++
      env: COMPILER='g++-4.9'
      addons:
        apt:
          sources: ['ubuntu-toolchain-r-test']
          packages: ['g++-4.9', 'libcurl4-openssl-dev']

    - os: linux
      compiler: g++
      env: COMPILER='g++-5'
      addons:
        apt:
          sources: ['ubuntu-toolchain-r-test']
          packages: ['g++-5', 'libcurl4-openssl-dev']

before_install:
  - bash ./ci/install-deps.sh

install:
  - export CXX=${COMPILER}

before_script:
  - bash ./ci/configure.sh

script:
  - bash ./ci/run.sh

Remove compiler gcc-4.8 from CI
[CLI-123] Remove compiler gcc-4.8 from CI
