blob: 85c2e8f998ea8405ab4824e46a8b9a7bb8bd0e96 [file] [log] [blame]
Cosimo Lupobb3d9242015-08-11 12:39:49 +01001language:
2- objective-c
3env:
4 matrix:
5 - INSTALL_TYPE='system' VERSION=2.7
Cosimo Lupoa5822da2015-08-12 09:42:30 +01006 - INSTALL_TYPE='macpython' VERSION=2.7.10 CC=clang CXX=clang++
7 - INSTALL_TYPE='macpython' VERSION=3.4.3 CC=clang CXX=clang++
Cosimo Lupobb3d9242015-08-11 12:39:49 +01008 - INSTALL_TYPE='homebrew' VERSION=2.7.10
9 - INSTALL_TYPE='homebrew' VERSION=3.4.3
10install:
11- source terryfy/travis_tools.sh
12- get_python_environment $INSTALL_TYPE $VERSION venv
13- pip install --upgrade wheel
14script:
15- python setup.py build_ext test
16after_success:
17- pip wheel -w dist .
18before_deploy:
Cosimo Lupo6dcb0dd2015-08-12 15:57:03 +010019- export WHEELS=$(ls ./dist/*.whl)
20
21# use `travis setup releases` to create a Github OAuth token
22# http://docs.travis-ci.com/user/deployment/releases/
23
24# deploy:
25# provider: releases
26# api_key: <encrypted Github OAuth token>
27# file:
28# - "${WHEELS}"
29# skip_cleanup: true
30# on:
31# repo: google/brotli
32# tags: true