Pillow/.travis.yml
2015-05-30 10:58:01 +10:00

48 lines
1.2 KiB
YAML

language:
- objective-c
env:
global: PILLOW_COMMIT=latest-tag
matrix:
- VERSION=2.7.9
- VERSION=3.2.5
- VERSION=3.3.5
- VERSION=3.4.3
install:
- source run_install.sh
- get_python_environment macpython $VERSION venv
- pip install delocate
- if [ -n "$PILLOW_COMMIT" ]; then
checkout_commit Pillow $PILLOW_COMMIT;
fi
- cd Pillow
- python setup.py bdist_wheel
- delocate-wheel dist/*.whl
- rename_wheels dist/*.whl
- pip install dist/*.whl
- cd ..
script:
- cd Pillow
- python selftest.py --installed
- pip install nose
- export NOSE_PROCESS_TIMEOUT=600
- export NOSE_PROCESSES=0
- if [ -f test-installed.py ]; then
python test-installed.py -s -v Tests/test_*.py ;
else
python Tests/run.py --installed ;
fi
- cd ..
before_deploy: cd Pillow/dist
deploy:
provider: cloudfiles
username: travis-upload
api-key:
secure: MqebEoOm+nNwSKWcINYJ0ct6Z16q4DBB9j/plfTw3Xc4Rr8e/OC66/hLBEga5J7afr4TkIK1849xaB2ce/Gxe2+mRM9qbg4ggz2Ul16lKhl9obFZwcP2ttLEqs//LjBHD9MAz1NMRxhwvb80OKuC2dg02/s9K7CRb2sJmDG4nC0=
region: ORD
container: wheels
skip_cleanup: true