mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Only do travis_after_all for hugovk/Pillow/master
This commit is contained in:
parent
ba74339899
commit
b65ca089e5
44
.travis.yml
44
.travis.yml
|
@ -33,7 +33,6 @@ install:
|
||||||
- pushd depends && ./install_openjpeg.sh && popd
|
- pushd depends && ./install_openjpeg.sh && popd
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- curl -Lo travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py
|
|
||||||
- coverage erase
|
- coverage erase
|
||||||
- python setup.py clean
|
- python setup.py clean
|
||||||
- CFLAGS="-coverage" python setup.py build_ext --inplace
|
- CFLAGS="-coverage" python setup.py build_ext --inplace
|
||||||
|
@ -68,33 +67,42 @@ after_success:
|
||||||
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-run.sh; fi
|
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-run.sh; fi
|
||||||
|
|
||||||
# after_all
|
# after_all
|
||||||
- python travis_after_all.py
|
|
||||||
- export $(cat .to_export_back)
|
|
||||||
- |
|
- |
|
||||||
if [ "$BUILD_LEADER" = "YES" ]; then
|
if [ "$TRAVIS_REPO_SLUG" = "hugovk/Pillow" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||||
if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
|
curl -Lo travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py
|
||||||
echo "All jobs succeded! Triggering OS X build..."
|
python travis_after_all.py
|
||||||
# Trigger an OS X build at the pillow-wheels repo
|
export $(cat .to_export_back)
|
||||||
./build_children.sh
|
if [ "$BUILD_LEADER" = "YES" ]; then
|
||||||
else
|
if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
|
||||||
echo "Some jobs failed"
|
echo "All jobs succeded! Triggering OS X build..."
|
||||||
|
# Trigger an OS X build at the pillow-wheels repo
|
||||||
|
./build_children.sh
|
||||||
|
else
|
||||||
|
echo "Some jobs failed"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- python travis_after_all.py
|
|
||||||
- export $(cat .to_export_back)
|
|
||||||
- |
|
- |
|
||||||
if [ "$BUILD_LEADER" = "YES" ]; then
|
if [ "$TRAVIS_REPO_SLUG" = "hugovk/Pillow" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||||
if [ "$BUILD_AGGREGATE_STATUS" = "others_failed" ]; then
|
curl -Lo travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py
|
||||||
echo "All jobs failed"
|
python travis_after_all.py
|
||||||
else
|
export $(cat .to_export_back)
|
||||||
echo "Some jobs failed"
|
if [ "$BUILD_LEADER" = "YES" ]; then
|
||||||
|
if [ "$BUILD_AGGREGATE_STATUS" = "others_failed" ]; then
|
||||||
|
echo "All jobs failed"
|
||||||
|
else
|
||||||
|
echo "Some jobs failed"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
|
- |
|
||||||
|
if [ "$TRAVIS_REPO_SLUG" = "hugovk/Pillow" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||||
|
echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
|
||||||
|
fi
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user