early bail out of manylinux build
@@ -8,6 +8,7 @@ notifications:
on_failure: always
irc: chat.freenode.net#dedupe
language: python
+sudo: false
matrix:
include:
- python: 3.6
@@ -22,27 +23,29 @@ matrix:
- brew install python3
- virtualenv env -p python3
- source env/bin/activate
- - sudo: required
- services:
+ - services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
+ before_install:
+ - if ! [[ $TRAVIS_TAG ]]; then exit 0; fi
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/.manylinux-install.sh
after_success:
- - if [[ $TRAVIS_TAG ]]; then pip install twine && twine upload -u datamade.wheelbuilder -p $PYPIPASSWORD wheelhouse/*; fi
+ - pip install twine && twine upload -u datamade.wheelbuilder -p $PYPIPASSWORD wheelhouse/*
- exit 0
- - sudo: required
- services:
+ - services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
+ before_install:
+ - if ! [[ $TRAVIS_TAG ]]; then exit 0; fi
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/.manylinux-install.sh
after_success:
- - if [[ $TRAVIS_TAG ]]; then pip install twine && twine upload -u datamade.wheelbuilder -p $PYPIPASSWORD wheelhouse/*; fi
+ - pip install twine && twine upload -u datamade.wheelbuilder -p $PYPIPASSWORD wheelhouse/*
- exit 0
install:
- pip install --upgrade pip
