language: cpp
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-add-repository --yes ppa:boost-latest/ppa
- sudo sh -c 'echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise main" >> /etc/apt/sources.list'
- sudo apt-get update
install:
- sudo apt-get install --yes g++-4.8 clang-3.3 libboost1.55-all-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
script:
- make -j BUILD_DIR=build/release-gcc   CXX_COMPILER=g++     USE_BOOST_REGEX=1 test
- make -j BUILD_DIR=build/release-clang CXX_COMPILER=clang++ USE_BOOST_REGEX=1 test CXX_WARNINGS=''
after_success:
- sudo apt-get install doxygen graphviz
- openssl aes-256-cbc
  -K  $encrypted_dc9ab2986818_key
  -iv $encrypted_dc9ab2986818_iv
  -in config/travisci_rsa.enc
  -out config/travisci_rsa
  -d
- chmod 0600 config/travisci_rsa
- cp config/travisci_rsa ~/.ssh/id_rsa
- ./config/publish-doxygen

language: cpp
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-add-repository --yes ppa:boost-latest/ppa
- sudo sh -c 'echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise main" >> /etc/apt/sources.list'
- sudo apt-get update
install:
- sudo apt-get install --yes g++-4.8 clang-3.3 libboost1.55-all-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
script:
- make -j BUILD_DIR=build/release-gcc   CXX=g++     USE_BOOST_REGEX=1 test
- make -j BUILD_DIR=build/release-clang CXX=clang++ USE_BOOST_REGEX=1 test CXX_WARNINGS=''
after_success:
- sudo apt-get install doxygen graphviz
- openssl aes-256-cbc
  -K  $encrypted_dc9ab2986818_key
  -iv $encrypted_dc9ab2986818_iv
  -in config/travisci_rsa.enc
  -out config/travisci_rsa
  -d
- chmod 0600 config/travisci_rsa
- cp config/travisci_rsa ~/.ssh/id_rsa
- ./config/publish-doxygen

Use CXX variable instead of CXX_COMPILER.
TravisCI: Use CXX variable instead of CXX_COMPILER.
