language: python

python:
  - 2.7
  - 3.4
  - 3.5

sudo: false

install:
  - pip install .
  - pip install pytest-cov

script:
  - py.test --cov=pim -v
language: python

python:
  - 2.7
  - 3.4
  - 3.5

sudo: false

install:
  - pip install .
  - pip install pytest-cov

script:
  # Run the tests on the `setup.py install`ed version
  - py.test -v

after_success:
  # uninstall the `setup.py install`ed version and install with develop to
  # get coverage stats
  - pip uninstall pim
  - python setup.py develop
  - py.test --cov=pim -v
Test setup.py install and setup.py develop. Get coverage stats on setup.py develop
Test setup.py install and setup.py develop. Get coverage stats on setup.py develop
