mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
9ef46159ba
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
65 lines
1.1 KiB
YAML
65 lines
1.1 KiB
YAML
dist: xenial
|
|
language: python
|
|
cache: pip
|
|
|
|
notifications:
|
|
irc: "chat.freenode.net#pil"
|
|
|
|
# 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.
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- python: "3.6"
|
|
name: "Lint"
|
|
env: LINT="true"
|
|
|
|
- python: "3.6"
|
|
arch: arm64
|
|
- python: "3.7"
|
|
arch: ppc64le
|
|
- python: "3.5"
|
|
arch: s390x
|
|
|
|
- python: "pypy3"
|
|
name: "PyPy3 Xenial"
|
|
- python: "3.8"
|
|
name: "3.8 Xenial"
|
|
services: xvfb
|
|
- python: '3.7'
|
|
name: "3.7 Xenial"
|
|
services: xvfb
|
|
- python: '3.6'
|
|
name: "3.6 Xenial PYTHONOPTIMIZE=1"
|
|
env: PYTHONOPTIMIZE=1
|
|
services: xvfb
|
|
- python: '3.5'
|
|
name: "3.5 Xenial PYTHONOPTIMIZE=2"
|
|
env: PYTHONOPTIMIZE=2
|
|
services: xvfb
|
|
|
|
install:
|
|
- |
|
|
if [ "$LINT" == "true" ]; then
|
|
pip install tox
|
|
else
|
|
.travis/install.sh;
|
|
fi
|
|
|
|
script:
|
|
- |
|
|
if [ "$LINT" == "true" ]; then
|
|
tox -e lint
|
|
else
|
|
.travis/build.sh
|
|
.travis/test.sh
|
|
fi
|
|
|
|
after_success:
|
|
- |
|
|
if [ "$LINT" == "" ]; then
|
|
.travis/after_success.sh
|
|
fi
|