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