# Do not set the language for c++, 
# this over rides our environment variable CXX below.
#language: c++

sudo: false
git:
    depth: 1

addons:
  apt:
    sources:
       - ubuntu-toolchain-r-test
    packages:
       - clang-3.4

os:
  - linux

# omr will not compile with clang
env:
    - CXX=clang++

# omr compiles with gcc, so ccache works for it
cache: ccache

install:
    - npm install

script:
    - make test
    - make bench
    - make program

# Do not set the language for c++, 
# this over rides our environment variable CXX below.
#language: c++

sudo: false
git:
    depth: 1

addons:
  apt:
    sources:
       - ubuntu-toolchain-r-test
    packages:
       - g++-5

os:
  - linux

env:
  - CXX=g++-5

# omr compiles with gcc, so ccache works for it
cache: ccache

install:
    - npm install

script:
    - make test
    - make bench
    - make program

Use newer GCC instead of Clang in Travis CI
Use newer GCC instead of Clang in Travis CI

Signed-off-by: Andrew Young <9b1c84997b9b503084a7ab9e0b7da3894895a5c3@gmail.com>
