Pillow/.travis.yml

46 lines
1.1 KiB
YAML
Raw Normal View History

2014-06-28 20:30:10 +04:00
language:
- objective-c
env:
2014-07-06 04:06:58 +04:00
# global: LATEST_TAG=1
2014-06-28 20:30:10 +04:00
matrix:
- VERSION=2.7.8
2014-07-03 18:39:39 +04:00
- VERSION=3.2.5
2014-06-28 21:31:38 +04:00
- VERSION=3.3.5
- VERSION=3.4.1
2014-06-28 20:30:10 +04:00
install:
- source run_install.sh
- get_python_environment macpython $VERSION venv
- pip install delocate
- if [ -n "$LATEST_TAG" ]; then checkout_closest_tag Pillow; fi
2014-06-28 20:30:10 +04:00
- cd Pillow
- python setup.py bdist_wheel
- delocate-wheel dist/*.whl
2014-06-29 01:37:02 +04:00
- rename_wheels dist/*.whl
2014-06-28 20:30:10 +04:00
- pip install dist/*.whl
- cd ..
script:
- cd Pillow
- python selftest.py --installed
- pip install nose
- export NOSE_PROCESS_TIMEOUT=600
- export NOSE_PROCESSES=-1
- if [ -f test-installed.py ]; then
python test-installed.py ;
else
python Tests/run.py --installed ;
fi
2014-06-28 20:30:10 +04:00
- cd ..
2014-06-28 21:31:38 +04:00
before_deploy: cd Pillow/dist
2014-06-28 20:30:10 +04:00
deploy:
provider: cloudfiles
2014-07-07 09:03:16 +04:00
username: travis-upload
api-key:
2014-07-24 08:03:40 +04:00
secure: MqebEoOm+nNwSKWcINYJ0ct6Z16q4DBB9j/plfTw3Xc4Rr8e/OC66/hLBEga5J7afr4TkIK1849xaB2ce/Gxe2+mRM9qbg4ggz2Ul16lKhl9obFZwcP2ttLEqs//LjBHD9MAz1NMRxhwvb80OKuC2dg02/s9K7CRb2sJmDG4nC0=
2014-06-28 20:30:10 +04:00
region: ORD
container: wheels
skip_cleanup: true