language: python
python:
  - "3.4"
  - "3.5"
  - "3.6"
install:
  - pip install .
  - pip install --upgrade pytest
# command to run tests
script: python -m pytest -v

language: python
python:
  - "3.4"
  - "3.5"
  - "3.6"
install:
  - pip install --user --upgrade setuptools pip pytest
  - pip install --user .
# command to run tests
script: python -m pytest -v

Upgrade pip and setuptools on Travis; install stuff only for --user
Upgrade pip and setuptools on Travis; install stuff only for --user
