language:
  - c
  - cpp
  - go
  - python
compiler:
  - gcc
#  - clang
before_install:
  - sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq
install:
  - sudo apt-get install -qq libsdl2-dev libsdl2-image-dev gcc-4.8 g++-4.8
  - export GOPATH=$(pwd)
  - go get -v github.com/veandco/go-sdl2/sdl
before_script:
  - export CXX=g++-4.8
  - export CC=gcc-4.8
script:
  - make -C c++11
  - make -C c++
  - make -C c
  - pushd go
  - go build
  - go test
  - popd

#notifications:
#  email: false
#  irc:
#    channels:
#      - "irc.freenode.net#blabla"
#    on_success: change
#    on_failure: always
#    template:
#      - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
#      - "Change view : %{compare_url}"
#      - "Build details : %{build_url}"
#    use_notice: true
#    skip_join: true

language:
  - c
  - cpp
  - go
  - python

dist: trusty

addons:
  apt:
    packages:
      - build-essential
      - libsdl2-dev
      - cmake

matrix:
  include:
    - os: linux
      compiler: gcc
    - os: linux
      compiler: clang

script:
  - make -C c++11
  - make -C c++98
  - make -C c11
  - pushd go
  - go build
  - go test
  - popd

#notifications:
#  email: false
#  irc:
#    channels:
#      - "irc.freenode.net#blabla"
#    on_success: change
#    on_failure: always
#    template:
#      - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
#      - "Change view : %{compare_url}"
#      - "Build details : %{build_url}"
#    use_notice: true
#    skip_join: true

Update the CI configuration script
Update the CI configuration script
