.travis.yml 512 Bytes
Newer Older
Matthew Hausknecht's avatar
Matthew Hausknecht committed
1 2 3 4 5 6 7 8 9
sudo: required
language: cpp
dist: trusty
addons:
  apt:
    sources:
      - boost-latest
    packages:
      - libboost-dev
Matthew Hausknecht's avatar
Matthew Hausknecht committed
10 11
      - libboost-system-dev
      - libboost-filesystem-dev
Matthew Hausknecht's avatar
Matthew Hausknecht committed
12 13
install:
  - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
DurgeshSamant's avatar
DurgeshSamant committed
14
       brew install cartr/qt4/qt 
Matthew Hausknecht's avatar
Matthew Hausknecht committed
15
       ;
Matthew Hausknecht's avatar
Matthew Hausknecht committed
16
    fi
17
  - sudo pip install nose numpy
Matthew Hausknecht's avatar
Matthew Hausknecht committed
18 19 20 21 22 23 24
os:
  - linux
  - osx
compiler:
  - clang
  - gcc
script:
Matthew Hausknecht's avatar
Matthew Hausknecht committed
25
  - mkdir build && cd build
26
  - cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo .. && make -j4 && make install
27
  - cd .. && nosetests --exe