language: python
python:
    - '2.6'
    - '2.7'
    - '3.5'
install:
    - pip install --upgrade pytest coverage codecov
    - pip install -r requirements.txt
script:
    - coverage run --source dmpr -m py.test
after_success:
    - codecov
# deploy:
#   provider: pypi
#   user:
#   password:
#     secure: 
#   on:
#     tags: true
#     repo: ScottWales/dmpr
#   distributions: "sdist bdist_wheel"

language: python
python:
    - '2.7'
    - '3.5'
install:
    - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
          wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
      else
          wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
      fi
    - bash miniconda.sh -b -p $HOME/miniconda
    - export PATH="$HOME/miniconda/bin:$PATH"

    - conda create -n travis python=$TRAVIS_PYTHON_VERSION
    - conda env update -n travis -f conda/dev-environment
    - source activate travis

    - pip install --upgrade pytest coverage codecov
    - pip install -r requirements.txt
script:
    - coverage run --source dmpr -m py.test
after_success:
    - codecov
# deploy:
#   provider: pypi
#   user:
#   password:
#     secure: 
#   on:
#     tags: true
#     repo: ScottWales/dmpr
#   distributions: "sdist bdist_wheel"

Install dev environment from conda
Install dev environment from conda
