language: python
python:
  - "2.7"

virtualenv:
  system_site_packages: false

before_install:
  - 'echo Working directory is: $PWD'
  - 'echo Home direcotry is: $HOME'
  - 'echo Path is: $PATH'
  - sudo bash ./bootstrap.sh ~
  - sudo pip install codecov
  - sudo pip install coveralls


install:
  - 'echo Working directory is: $PWD'
  - 'echo Home direcotry is: $HOME'
  - 'echo PATH before: $PATH'
  - export PATH="$HOME/miniconda/bin:$PATH"
  - 'echo PATH after: $PATH'
  - source activate test-env
  #- sudo pip install . -r requirements.txt
  - sudo pip install -e .

script:
  - 'echo Working directory is: $PWD'
  - 'echo Home direcotry is: $HOME'
  - 'echo Path is: $PATH'
  - source activate test-env
  - nosetests --with-coverage --cover-package=energistream

after_success:
  - coveralls
  - codecov

language: python
python:
  - "2.7"

virtualenv:
  system_site_packages: false

before_install:
  - 'echo Working directory is: $PWD'
  - 'echo Home direcotry is: $HOME'
  - 'echo Path is: $PATH'
  - sudo bash ./bootstrap.sh ~
  - sudo pip install codecov
  - sudo pip install coveralls


install:
  - 'echo Working directory is: $PWD'
  - 'echo Home direcotry is: $HOME'
  - 'echo PATH before: $PATH'
  - export PATH="$HOME/miniconda/bin:$PATH"
  - 'echo PATH after: $PATH'
  - source activate test-env
  #- sudo pip install . -r requirements.txt
  - sudo pip install -e .

script:
  - 'echo Working directory is: $PWD'
  - 'echo Home direcotry is: $HOME'
  - 'echo Path is: $PATH'
  - source activate test-env
  - nosetests --with-coverage --cover-branches --cover-package=energistream

after_success:
  - coveralls
  - codecov

Add branch coverage to nose tests call
DEV: Add branch coverage to nose tests call