language: python
virtualenv:
  system_site_packages: true
python:
  - "2.7"
  
# command to install dependencies
install: 
  - pip -q install cython --install-option="--no-cython-compile"
  - python setup_coolprop.py install
  - sudo apt-get install python-numpy python-numpy-dev python-scipy python-matplotlib python-wxgtk2.8 python-wxtools wx2.8-i18n python-h5py
  - python setup.py install # Install PDSim
  
# command to run tests
script: 
  - cd examples
  - python simple_example.py
  - python scroll_compressor.py
  - python piston_expander.py

notifications:
  email:
    recipients:
      - ian.h.bell@gmail.com
    on_success: never # default: change
    on_failure: always # default: always