Files
cibuildwheel/.travis.yml
T

34 lines
638 B
YAML
Raw Normal View History

2017-09-01 13:49:39 +01:00
language: python
matrix:
include:
2017-08-14 23:19:39 +01:00
# Linux
- sudo: required
services:
- docker
2017-08-14 23:19:39 +01:00
env:
- "PYTHON=python2"
- sudo: required
services:
- docker
env:
- "PYTHON=python3"
# macOS
- os: osx
2017-08-14 23:19:39 +01:00
env:
- "PYTHON=python2"
- os: osx
env:
- "PYTHON=python3"
script:
2017-03-23 15:20:03 +00:00
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
2017-08-14 23:19:39 +01:00
$PYTHON -m pip install .
$PYTHON ./run_tests.py
2017-03-23 15:20:03 +00:00
else
# linux test requires root to clean up the wheelhouse (docker runs as root)
2017-08-14 23:19:39 +01:00
sudo $PYTHON -m pip install .
sudo $PYTHON ./run_tests.py
2017-03-23 15:20:03 +00:00
fi