language: python

sudo: false

cache:
  # Apparently if you override the install command that silently disables the
  # cache: pip support. This is less than ideal and I've opened up
  # travis-ci/travis-ci#3239 to hopefully get that addressed. For now I'll
  # manually add the pip cache directory to the build cache.
  directories:
    - ~/.cache/pip

env:
  global:
    # These two environment variables could be set by Travis itself, or Travis
    # could configure itself in /etc/, ~/, or inside of the virtual
    # environments. In any case if these two values get configured then end
    # users only need to enable the pip cache and manually run pip wheel before
    # running pip install.
    - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
    - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels

python:
  - 2.7
  - 3.5
  - 3.6

cache:
  directories:
    - $HOME/.pip-cache/
    - $HOME/wheelhouse

before_install:
  - pip install -U pip
  - pip install -r requirements.txt

install:
  - pip install -e .[test]

script:
  - python -m pytest -vv --cov riomucho --cov-report term-missing

after_success:
  - coveralls

language: python

sudo: false

cache:
  # Apparently if you override the install command that silently disables the
  # cache: pip support. This is less than ideal and I've opened up
  # travis-ci/travis-ci#3239 to hopefully get that addressed. For now I'll
  # manually add the pip cache directory to the build cache.
  directories:
    - ~/.cache/pip

env:
  global:
    # These two environment variables could be set by Travis itself, or Travis
    # could configure itself in /etc/, ~/, or inside of the virtual
    # environments. In any case if these two values get configured then end
    # users only need to enable the pip cache and manually run pip wheel before
    # running pip install.
    - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
    - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels

python:
  - 2.7
  - 3.6

cache:
  directories:
    - $HOME/.pip-cache/
    - $HOME/wheelhouse

before_install:
  - pip install -U pip
  - pip install -r requirements.txt

install:
  - pip install -e .[test]

script:
  - python -m pytest -vv --cov riomucho --cov-report term-missing

after_success:
  - coveralls

deploy:

  on:
    tags: true

  provider: pypi
  user: mapboxci
  distributions: "sdist bdist_wheel"

Add deploy section, remove 3.5 from matrix
Add deploy section, remove 3.5 from matrix
