language: python
sudo: required
dist: trusty
osx_image: xcode8.2

python:
  - "2.7"
  - "3.4"

before_install:
  - echo "$TRAVIS_OS_NAME"
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]];
      then sudo apt-get -qq install
        cmake
        libboost-chrono-dev
        libboost-date-time-dev
        libboost-filesystem-dev
        libboost-system-dev
        libboost-thread-dev
        libboost-program-options-dev
        libboost-test-dev
        libboost-regex-dev
        g++;
      fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]];
      then brew install
        cmake
        boost;
      fi
  - "pip install -e .[test]"

script: 
  - py.test
  - mkdir -p build && cd build
  - cmake ../test/test_cpp
  - make all
  - ctest

notifications:
  email: false
language: python
sudo: required
dist: trusty
osx_image: xcode8.2

python:
  - "2.7"
  - "3.4"

before_install:
  - echo "$TRAVIS_OS_NAME"
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]];
      then sudo apt-get -qq install
        cmake
        libboost-chrono-dev
        libboost-date-time-dev
        libboost-filesystem-dev
        libboost-system-dev
        libboost-thread-dev
        libboost-program-options-dev
        libboost-test-dev
        libboost-regex-dev
        g++
        ninja-build;
      fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]];
      then brew install
        cmake
        boost
        ninja;
      fi
  - "pip install -e .[test]"

script: 
  - py.test
  - mkdir -p build && cd build
  - cmake -GNinja ../test/test_cpp
  - ninja
  - ctest

notifications:
  email: false
Use ninja instead of make
Use ninja instead of make

because we can
