Skip to content

Commit b1a8a68

Browse files
committed
Merge pull request #14 from python-hyper/osx-wheels
Build OS-X wheels.
2 parents 4d12c7d + 52a5501 commit b1a8a68

File tree

3 files changed

+28
-21
lines changed

3 files changed

+28
-21
lines changed

.travis.yml

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
11
language: python
22

3-
# We expressly write out the build matrix here because we need to set the
4-
# appropriate target for each platform. Happily, because there's no Linux
5-
# support yet, this is pretty easy!
63
matrix:
74
include:
8-
- language: generic
9-
os: osx
10-
env: TOXENV=py27
11-
- language: generic
12-
os: osx
13-
env: TOXENV=py33
14-
- language: generic
15-
os: osx
16-
env: TOXENV=py34
17-
- language: generic
18-
os: osx
19-
env: TOXENV=py35
20-
- language: generic
21-
os: osx
22-
env: TOXENV=pypy
5+
- language: generic
6+
os: osx
7+
env: TOXENV=py27
8+
- language: generic
9+
os: osx
10+
env: TOXENV=py33
11+
- language: generic
12+
os: osx
13+
env: TOXENV=py34
14+
- language: generic
15+
os: osx
16+
env: TOXENV=py35
17+
- language: generic
18+
os: osx
19+
env: TOXENV=pypy
2320

2421
install:
25-
- ./.travis/install.sh
22+
- "./.travis/install.sh"
2623

2724
script:
28-
- ./.travis/run.sh
25+
- "./.travis/run.sh"
26+
27+
deploy:
28+
provider: releases
29+
api_key:
30+
secure: U8hnrZSRHNhF7ng+eqkKvcUR+hr+pPeq+Cem3dIJskd0g7+JHlB4c7kS0w85JC0Y7zLJf4/2Og3y0WI5Bd3uMPhArp9woP29OLrd+8HrGMMyQsWWe2ZfqL/EWyblKCIE+z6lqE+DiUI6RWIxXqiOj8hW8nkuZCEN3voXBjrBOPsvx12rAXcCTmbxA6i2xAyvOJN6HxzPsIPYdzwKJnKoji3A2EodbUK6W8/Hrpo7kDq8NUxL6wo4X98dt+Pc++6cWR5eXeoGDCsiyGVoptuxWSzixjKMKNz8n9CzgdcrTi0TPkVhBkwK65K9uulrx/yAXpPkFSJiT+/ll4N4CQrs1383QGUSVyy3/lek4jhhgwN6ByIB/5XoICZIaTw3etz7B7iaYyxQsNA3wlgIj6U8wJhP1nrIRFeIqI4/PPQaH6K+1UJGd9NZbMDgEe2flhjuqZWh2/ODSlirMrHmnE8I5SNgv5hKezEJhwwGa8quSX643Dxbp631IfgtP3fvQ807xqQE65K8mj+aAl3chIgJcX/cxnbmN4ZPPds8U4QTSR2MZZNizaFHxnwdHk32puMWM86cq/i+3riGtTSXlIaY9mm0ylqwMAt/KJwAJqTz91vBPkRM+ebSFq+xf8mLJlRzDd9vfL2Cjd9kBwokufezLsDg2Ewo39TgTMsAAcmSNr4=
31+
file: dist/*.whl
32+
skip_cleanup: true
33+
on:
34+
tags: true

.travis/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ pyenv rehash
3939
python -m pip install --user virtualenv
4040
python -m virtualenv ~/.venv
4141
source ~/.venv/bin/activate
42-
pip install tox
42+
pip install -U tox wheel

.travis/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ eval "$(pyenv init -)"
99
source ~/.venv/bin/activate
1010

1111
tox
12+
python setup.py bdist_wheel

0 commit comments

Comments
 (0)