dist: trusty
sudo: required
cache:
  directories:
  - $HOME/.cache/
language:
  - cpp
compiler:
  - gcc
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-6
      - g++-6
install:
  - sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
  - sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++
  - sudo apt-get remove cmake
  - sudo apt-get purge cmake
  - sudo sh .ci-scripts/install-cmake.sh
  - sudo sh .ci-scripts/install-caf.sh
script:
  - export CC=/usr/bin/gcc-6
  - export CXX=/usr/bin/g++-6
  - gcc -v && g++ -v && cd ./build && cmake .. && make
dist: trusty
sudo: required
cache:
  directories:
  - $HOME/.cache/
language:
  - cpp
compiler:
  - gcc
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-6
      - g++-6
install:
  - sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
  - sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++
  - sudo sh $TRAVIS_BUILD_DIR/.ci-scripts/install-cmake.sh
  - sudo sh $TRAVIS_BUILD_DIR/.ci-scripts/install-caf.sh
script:
  - export CC=/usr/bin/gcc-6
  - export CXX=/usr/bin/g++-6
  - gcc -v && g++ -v && cd ./build && cmake .. && make
Use TRAVIS_BUILD_DIR in ci-scripts paths
Use TRAVIS_BUILD_DIR in ci-scripts paths
