2014-06-28 20:30:10 +04:00
|
|
|
language:
|
|
|
|
- objective-c
|
|
|
|
|
|
|
|
env:
|
2015-09-18 23:41:42 +03:00
|
|
|
global:
|
|
|
|
- PILLOW_COMMIT=latest-tag
|
|
|
|
- REPO_DIR=Pillow
|
2014-06-28 20:30:10 +04:00
|
|
|
matrix:
|
2015-05-30 04:03:30 +03:00
|
|
|
- VERSION=2.7.10
|
2014-12-29 13:12:26 +03:00
|
|
|
- VERSION=3.2.5
|
|
|
|
- VERSION=3.3.5
|
2015-05-30 03:58:01 +03:00
|
|
|
- VERSION=3.4.3
|
2015-10-02 20:29:06 +03:00
|
|
|
- VERSION=3.5.0
|
2014-06-28 20:30:10 +04:00
|
|
|
|
|
|
|
install:
|
|
|
|
- source run_install.sh
|
|
|
|
- get_python_environment macpython $VERSION venv
|
2015-10-02 20:29:06 +03:00
|
|
|
# Update to latest wheel package for Python 3.5
|
|
|
|
- pip install -U wheel
|
2014-06-28 20:30:10 +04:00
|
|
|
- pip install delocate
|
2015-02-21 08:18:23 +03:00
|
|
|
- if [ -n "$PILLOW_COMMIT" ]; then
|
2015-09-18 23:41:42 +03:00
|
|
|
checkout_commit $REPO_DIR $PILLOW_COMMIT;
|
2015-02-21 08:18:23 +03:00
|
|
|
fi
|
2015-09-18 23:41:42 +03:00
|
|
|
- cd $REPO_DIR
|
2014-06-28 20:30:10 +04:00
|
|
|
- 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:
|
2015-09-18 23:41:42 +03:00
|
|
|
- cd $REPO_DIR
|
2014-06-28 20:30:10 +04:00
|
|
|
- python selftest.py --installed
|
2014-07-04 04:01:50 +04:00
|
|
|
- pip install nose
|
2014-07-05 05:26:11 +04:00
|
|
|
- export NOSE_PROCESS_TIMEOUT=600
|
2014-09-30 18:51:45 +04:00
|
|
|
- export NOSE_PROCESSES=0
|
2014-07-05 05:26:11 +04:00
|
|
|
- if [ -f test-installed.py ]; then
|
2014-09-30 18:51:45 +04:00
|
|
|
python test-installed.py -s -v Tests/test_*.py ;
|
2014-07-05 05:26:11 +04:00
|
|
|
else
|
|
|
|
python Tests/run.py --installed ;
|
|
|
|
fi
|
2014-06-28 20:30:10 +04:00
|
|
|
- cd ..
|
|
|
|
|
2015-09-18 23:41:42 +03:00
|
|
|
before_deploy:
|
|
|
|
- cd $REPO_DIR/dist
|
|
|
|
|
2014-06-28 20:30:10 +04:00
|
|
|
deploy:
|
|
|
|
provider: cloudfiles
|
2014-07-07 09:03:16 +04:00
|
|
|
username: travis-upload
|
2014-07-07 08:30:20 +04:00
|
|
|
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
|