Pillow/.travis.yml

71 lines
1.2 KiB
YAML
Raw Normal View History

dist: xenial
language: python
2020-02-05 18:59:04 +03:00
cache:
pip: true
directories:
- $HOME/.cache/pre-commit
2014-04-02 14:53:34 +04:00
notifications:
irc: "chat.freenode.net#pil"
2014-03-26 23:04:54 +04:00
# Run fast lint first to get fast feedback.
# Run slower CPUs next, to give them a headstart and reduce waiting time.
# Then run the remainder.
2017-01-19 18:54:54 +03:00
matrix:
fast_finish: true
2017-01-19 18:54:54 +03:00
include:
- python: "3.6"
name: "Lint"
env: LINT="true"
- python: "3.6"
arch: arm64
- python: "3.7"
arch: ppc64le
2020-06-27 14:39:44 +03:00
- python: "3.8"
arch: s390x
2020-10-12 02:59:44 +03:00
- python: "pypy3.6-7.3.1"
2018-12-06 18:27:15 +03:00
name: "PyPy3 Xenial"
2020-02-09 08:00:36 +03:00
- python: "3.9-dev"
name: "3.9-dev Xenial"
services: xvfb
2019-10-15 20:57:29 +03:00
- python: "3.8"
name: "3.8 Xenial"
2019-10-15 12:44:21 +03:00
services: xvfb
- python: '3.7'
name: "3.7 Xenial PYTHONOPTIMIZE=2"
2020-06-27 14:39:44 +03:00
env: PYTHONOPTIMIZE=2
2019-10-07 04:41:33 +03:00
services: xvfb
- python: '3.6'
name: "3.6 Xenial PYTHONOPTIMIZE=1"
env: PYTHONOPTIMIZE=1
2019-10-07 04:41:33 +03:00
services: xvfb
2019-01-15 23:11:27 +03:00
2020-07-10 11:12:21 +03:00
allow_failures:
- python: "3.9-dev"
2017-01-19 18:54:54 +03:00
install:
- |
if [ "$LINT" == "true" ]; then
pip install tox
else
.ci/install.sh;
fi
2016-05-06 18:33:07 +03:00
script:
- |
2018-11-11 22:38:06 +03:00
if [ "$LINT" == "true" ]; then
tox -e lint
else
.ci/build.sh
.ci/test.sh
fi
2017-01-19 18:54:54 +03:00
after_success:
- |
2018-11-11 22:38:06 +03:00
if [ "$LINT" == "" ]; then
.ci/after_success.sh
fi