# Travis CI Build.
# HOME path: /home/travis
# Git clone path: /home/travis/build/osom8979/tbag

language: cpp

cache:
  apt: true
  directories:
    - /home/travis/tparty

compiler: g++

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - george-edison55-precise-backports
    packages:
      - git
      - cmake
      - cmake-data
      - curl
      - unzip
      - g++-4.9

before_install:
  #- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
  #- sudo add-apt-repository --yes ppa:george-edison55/precise-backports
  #- sudo apt-get -qq update
  #- sudo apt-get install -y git cmake cmake-data curl unzip g++-4.9
  - export TPARTY_HOME=$HOME/tparty
  - export LD_LIBRARY_PATH=$TPARTY_HOME/local/lib:$LD_LIBRARY_PATH
  - export CXX=g++-4.9

install:
  - bash script/travis_install.sh

script:
  - mkdir cmake_build
  - cd cmake_build
  - cmake ..
  - make VERBOSE=0
  - ./tester

notifications:
  email:
    on_success: always
    on_failure: always


# Travis CI Build.
# HOME path: /home/travis
# Git clone path: /home/travis/build/osom8979/tbag

language: cpp

cache:
  apt: true
  directories:
    - /home/travis/tparty

compiler: g++

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - george-edison55-cmake-3.x
    packages:
      - git
      - cmake
      - cmake-data
      - curl
      - unzip
      - g++-4.9

before_install:
  #- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
  #- sudo add-apt-repository --yes ppa:george-edison55/precise-backports
  #- sudo apt-get -qq update
  #- sudo apt-get install -y git cmake cmake-data curl unzip g++-4.9
  - export TPARTY_HOME=$HOME/tparty
  - export LD_LIBRARY_PATH=$TPARTY_HOME/local/lib:$LD_LIBRARY_PATH
  - export CXX=g++-4.9

install:
  - bash script/travis_install.sh

script:
  - mkdir cmake_build
  - cd cmake_build
  - cmake ..
  - make VERBOSE=0
  - ./tester

notifications:
  email:
    on_success: always
    on_failure: always


Change cmake ppa: george-edison55/precise-backports -> george-edison55/cmake-3.x
Change cmake ppa: george-edison55/precise-backports -> george-edison55/cmake-3.x
