language: python
sudo: false

python:
  - 2.7

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

addons:
  apt:
    packages:
      - libudev-dev
      - libusb-1.0-0-dev
      - libssl-dev
      - python-dev
      - python-pip # Standin for python-setuptools, a build-dep of M2Crypto
      - swig

install:
  - pip install -r dev-requirements.txt
  - pip install -e .

script:
  - coverage run setup.py test

after_success:
  - coveralls

language: python
sudo: false

python:
  - 2.7

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

addons:
  apt:
    packages:
      - libudev-dev
      - libusb-1.0-0-dev
      - libssl-dev
      - python-dev
      - python-pip # Standin for python-setuptools, a build-dep of M2Crypto
      - swig

install:
  - pip install "pip>=7.0.2" wheel
  - pip install -r dev-requirements.txt
  - pip install -e .

script:
  - coverage run setup.py test

after_success:
  - coveralls

Use recent pip & wheel, to benefit from wheel caching
Travis: Use recent pip & wheel, to benefit from wheel caching
