# 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

# .travis.yml

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

sudo: false
git:
    depth: 1

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

os:
  - linux

env:
  - CXX="ccache g++-5"

# OMR compiles with g++, so ccache works for it
cache:
  ccache: true
  directories:
    - node_modules

install:
    - npm install

script:
    - make test
    - make bench
    - make program

Add caching for g++-5 compiled files in Travis CI
Add caching for g++-5 compiled files in Travis CI

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