Merge pull request #138 from anthrotype/travis

Travis support (OS X)
This commit is contained in:
szabadka 2015-08-14 12:55:22 +02:00
commit 806e7317c7
3 changed files with 36 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

32
.travis.yml Normal file
View File

@ -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: <encrypted Github OAuth token>
# file:
# - "${WHEELS}"
# skip_cleanup: true
# on:
# repo: google/brotli
# tags: true

1
terryfy Submodule

@ -0,0 +1 @@
Subproject commit 8bb673f4410819df06920fdcfd24e18d235d84f7