language: cpp

sudo: false

compiler:
#- clang
- gcc

addons:
  apt:
    sources:
    - llvm-toolchain-precise-3.5
    - ubuntu-toolchain-r-test
    - kubuntu-backports
    packages:
    #- clang-3.5
    - cmake
    - g++-4.9
    # Coveralls
    - curl
    # GLFW
    - libxxf86vm-dev
cache:
  apt: true
  directories:
  - $HOME/.ccache
  - node_modules
  - submodules

env:
  global:
    - GCC_VERSION="4.9"

before_install:
  - export SOURCE_ROOT=`pwd`;
  - npm install
  - if [ "$CXX" = "g++" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}" GCOV="gcov-${GCC_VERSION}"; fi
  - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5" CC="clang-3.5"; fi

branches:
  only:
  - master

script:
  # build
  - cd ${SOURCE_ROOT} && grunt build
  - cd build && make
  # coveralls build
  - cd ${SOURCE_ROOT} && grunt build:coveralls
  - cd cbuild && make

after_success:
  # In after_success to avoid failures due to Coveralls 500s
  - make coveralls

before_cache:
  - ccache --show-stats

notifications:
  email: false

language: cpp

sudo: false

compiler:
#- clang
- gcc

addons:
  apt:
    sources:
    #- llvm-toolchain-precise-3.5
    - ubuntu-toolchain-r-test
    - kubuntu-backports
    packages:
    #- clang-3.5
    - cmake
    - g++-4.9
    # Coveralls
    - curl
    # GLFW
    - libxxf86vm-dev
cache:
  apt: true
  directories:
  - $HOME/.ccache
  - node_modules

env:
  global:
    - GCC_VERSION="4.9"

before_install:
  - export SOURCE_ROOT=`pwd`;
  - npm install
  - if [ "$CXX" = "g++" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}" GCOV="gcov-${GCC_VERSION}"; fi
  - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5" CC="clang-3.5"; fi

branches:
  only:
  - master

script:
  # build
  - cd ${SOURCE_ROOT} && grunt build
  - cd build && make
  # coveralls build
  - cd ${SOURCE_ROOT} && grunt build:coveralls
  - cd cbuild && make

after_success:
  # In after_success to avoid failures due to Coveralls 500s
  - make coveralls

before_cache:
  - ccache --show-stats

notifications:
  email: false

Remove unused llvm apt-source while clang is disabled
Remove unused llvm apt-source while clang is disabled


Former-commit-id: 20909936b76cb47afdda1e531a5eba6906a5b69e [formerly 59b9a64ea5498acb58fc89faf58c704e92d8e050]
Former-commit-id: cb76cd58e1f55314fc10de3f7f11a335ab99b8c6