add support for Travis CI (OS X only for now)

Use 'terrify' utilities from MacPython to build precompiled wheel packages
This commit is contained in:
Cosimo Lupo
2015-08-11 12:39:49 +01:00
parent d811b186c5
commit bb3d9248c0
3 changed files with 24 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "terryfy"]
path = terryfy
url = https://github.com/MacPython/terryfy.git

20
.travis.yml Normal file
View File

@@ -0,0 +1,20 @@
language:
- objective-c
env:
matrix:
- INSTALL_TYPE='system' VERSION=2.7
- INSTALL_TYPE='homebrew' VERSION=2.7.10
- INSTALL_TYPE='homebrew' VERSION=3.4.3
install:
- source terryfy/travis_tools.sh
- get_python_environment $INSTALL_TYPE $VERSION venv
- pip install --upgrade wheel
script:
- python setup.py build_ext test
after_success:
- pip wheel -w dist .
before_deploy:
- cd dist
- "wheels=$(echo *.whl)"
#deploy:
# - TODO: upload the content of $wheels to a public wheelhouse

1
terryfy Submodule

Submodule terryfy added at 8bb673f441