language: python

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

# Build inside docker containers instead of virtual machines. These are
# faster, start quicker and support caching. Only downside: sudo is not
# supported.
sudo: false

# Dependencies can be installed as follows. This works only for packages
# whitelisted on https://github.com/travis-ci/apt-package-whitelist:
addons:
  apt:
    packages:
    - libkeyutils-dev

install:
  # Installation step for the python package itself:
  - python setup.py install

script:
  - python test/keyutils_test.py

language: python

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

# Build inside docker containers instead of virtual machines. These are
# faster, start quicker and support caching. Only downside: sudo is not
# supported.
sudo: false

# Dependencies can be installed as follows. This works only for packages
# whitelisted on https://github.com/travis-ci/apt-package-whitelist:
addons:
  apt:
    packages:
    - libkeyutils-dev

install:
  # Installation step for the python package itself:
  - pip install pytest
  - python setup.py install
  # Note, when running via py.test, we have to prevent importing keyutils from
  # current directory which doesn't contain the shared object:
  - rm -r keyutils

script:
  - py.test -v test/

Use pytest as test driver
Use pytest as test driver

Signed-off-by: Thomas Gläßle <f9056a8f57616b76561681f7cd36a6120b98b1ec@gmx.de>
