2014-06-28 20:30:10 +04:00
|
|
|
language:
|
|
|
|
- objective-c
|
|
|
|
|
|
|
|
env:
|
2014-07-03 15:26:34 +04:00
|
|
|
global: LATEST_TAG=1
|
2014-06-28 20:30:10 +04:00
|
|
|
matrix:
|
2014-06-28 21:31:38 +04:00
|
|
|
- VERSION=2.7.7
|
|
|
|
- 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
|
|
|
|
- cd Pillow
|
2014-07-03 15:26:34 +04:00
|
|
|
- if [ -n "$LATEST_TAG" ]; then
|
2014-07-03 15:47:04 +04:00
|
|
|
git fetch
|
2014-07-03 15:26:34 +04:00
|
|
|
git fetch --tags ;
|
2014-07-03 15:47:04 +04:00
|
|
|
git checkout `git describe --abbrev=0 --tags origin/master` ;
|
2014-07-03 15:26:34 +04:00
|
|
|
fi
|
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:
|
|
|
|
- cd Pillow
|
|
|
|
- python selftest.py --installed
|
|
|
|
- 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
|
|
|
|
username: travis-worker
|
|
|
|
api_key:
|
2014-06-28 22:18:02 +04:00
|
|
|
secure: ZcwPFUNQlkSXqy7QRbgJsDwK0feE5ju3ISEbYcjl+zG/C8h/vZVOJpoG4PaeOrTRb2k4VaG/zPM4mN1JJKo4qR4c4X4hHY+sPldiD86ubT0tOPD6Mrm9xgu3KBOIg7OO5uiS6VppGkS/G/zfmMiFl97nxfwp9ecsXdKRieiw2kI=
|
2014-06-28 20:30:10 +04:00
|
|
|
region: ORD
|
|
|
|
container: wheels
|
|
|
|
skip_cleanup: true
|