Skip to content

Commit

Permalink
Add OSX testing to travis-ci
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Mizyrycki <[email protected]>
  • Loading branch information
mzdaniel committed Sep 5, 2015
1 parent 52f41a4 commit daeffe0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
language: python

matrix:
include:
- language: generic
os: osx
osx_image: beta-xcode6.3

python:
- 2.7

install:
- pip install tox
- sudo bash -c 'python2.7 <(curl https://bootstrap.pypa.io/get-pip.py)'
- sudo pip install tox

script:
- tox
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exclude = .git
ignore = H102,E113,E121,E127,E128,H202,H301,H304,H405,H803

[testenv]
basepython = python2
basepython = python2.7
deps = -rrequirements.txt
-rtests/test_requirements.txt
whitelist_externals =
Expand Down Expand Up @@ -41,9 +41,9 @@ commands = {[testenv:build-whl]commands}
pip wheel --wheel-dir=dist -rpex/pex_requirements.txt
sh -c '{envdir}/bin/pex -v --disable-cache --no-index -f dist \
-c sphinxserve -o pex/scripts/sphinxserve dist/*'
sh -x -c 'sha1sum pex/scripts/sphinxserve'
sh -x -c 'openssl sha1 pex/scripts/sphinxserve'
pip wheel --wheel-dir=dist pex/
sh -x -c 'sha1sum dist/sphinxserve_pex*'
sh -x -c 'openssl sha1 dist/sphinxserve_pex*'

[testenv:dev]
envdir = /tmp/tox/dev
Expand Down

0 comments on commit daeffe0

Please sign in to comment.