Files
cibuildwheel/.travis.yml
T

47 lines
1000 B
YAML
Raw Normal View History

language: generic
2017-09-01 13:49:39 +01:00
matrix:
include:
# Linux Python 2
- sudo: required
language: python
services:
- docker
2017-08-14 23:19:39 +01:00
env:
- "PYTHON=python2"
# Linux Python 3
2017-08-14 23:19:39 +01:00
- sudo: required
language: python
2017-08-14 23:19:39 +01:00
services:
- docker
env:
- "PYTHON=python3"
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y python3-pip
# macOS Python 2
- os: osx
2017-08-14 23:19:39 +01:00
env:
- "PYTHON=python2"
# macOS Python 3
2017-08-14 23:19:39 +01:00
- os: osx
env:
- "PYTHON=python3"
before_install:
- brew update
2018-03-31 12:36:27 +02:00
- brew outdated python || brew upgrade python
script:
2017-03-23 15:20:03 +00:00
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
2017-09-07 18:55:33 +01:00
$PYTHON -m pip install -r requirements-dev.txt
$PYTHON ./bin/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-09-07 18:55:33 +01:00
sudo $PYTHON -m pip install -r requirements-dev.txt
sudo $PYTHON ./bin/run_tests.py
2017-03-23 15:20:03 +00:00
fi