Remove excess Travis CI jobs

This commit is contained in:
Hugo van Kemenade 2020-11-02 23:02:24 +02:00
parent c8aeab25b4
commit ddd363f7df

View File

@ -1,24 +1,13 @@
dist: xenial dist: xenial
language: python language: python
cache: cache: pip
pip: true
directories:
- $HOME/.cache/pre-commit
notifications: notifications:
irc: "chat.freenode.net#pil" 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: matrix:
fast_finish: true fast_finish: true
include: include:
- python: "3.6"
name: "Lint"
env: LINT="true"
- python: "3.6" - python: "3.6"
arch: arm64 arch: arm64
- python: "3.7" - python: "3.7"
@ -26,42 +15,15 @@ matrix:
- python: "3.8" - python: "3.8"
arch: s390x arch: s390x
- python: "pypy3.6-7.3.1"
name: "PyPy3 Xenial"
- python: "3.9"
name: "3.9 Xenial"
services: xvfb
- python: "3.8"
name: "3.8 Xenial"
services: xvfb
- python: '3.7'
name: "3.7 Xenial PYTHONOPTIMIZE=2"
env: PYTHONOPTIMIZE=2
services: xvfb
- python: '3.6'
name: "3.6 Xenial PYTHONOPTIMIZE=1"
env: PYTHONOPTIMIZE=1
services: xvfb
install: install:
- | - |
if [ "$LINT" == "true" ]; then .ci/install.sh;
python3 -m pip install tox
else
.ci/install.sh;
fi
script: script:
- | - |
if [ "$LINT" == "true" ]; then
tox -e lint
else
.ci/build.sh .ci/build.sh
.ci/test.sh .ci/test.sh
fi
after_success: after_success:
- | - |
if [ "$LINT" == "" ]; then
.ci/after_success.sh .ci/after_success.sh
fi