blob: 846308e08096e0dcad95ad0829c6f9020e7fc247 [file] [log] [blame]
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
# command to install dependencies
install:
- pip install tox
script:
- printf "[build_ext]\nportage-ext-modules=true" >> setup.cfg
- ./setup.py test
- ./setup.py install --root=/tmp/install-root
- if [[ ${TRAVIS_PYTHON_VERSION} == ?.? ]]; then
tox -e py${TRAVIS_PYTHON_VERSION/./};
else
tox -e ${TRAVIS_PYTHON_VERSION};
fi