diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3d60255 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "terryfy"] + path = terryfy + url = https://github.com/MacPython/terryfy.git diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..85c2e8f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +language: +- objective-c +env: + matrix: + - INSTALL_TYPE='system' VERSION=2.7 + - INSTALL_TYPE='macpython' VERSION=2.7.10 CC=clang CXX=clang++ + - INSTALL_TYPE='macpython' VERSION=3.4.3 CC=clang CXX=clang++ + - 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: +- export WHEELS=$(ls ./dist/*.whl) + +# use `travis setup releases` to create a Github OAuth token +# http://docs.travis-ci.com/user/deployment/releases/ + +# deploy: +# provider: releases +# api_key: +# file: +# - "${WHEELS}" +# skip_cleanup: true +# on: +# repo: google/brotli +# tags: true diff --git a/terryfy b/terryfy new file mode 160000 index 0000000..8bb673f --- /dev/null +++ b/terryfy @@ -0,0 +1 @@ +Subproject commit 8bb673f4410819df06920fdcfd24e18d235d84f7