Factor duplication out of Debian configuration

This commit is contained in:
Jean-Paul Calderone 2018-06-08 16:19:52 -04:00
parent d8d83478c8
commit 7c1ac62c78

View File

@ -23,7 +23,7 @@ jobs:
pip install --user tox
~/.local/bin/tox -e codechecks
debian-8:
debian-8: &DEBIAN
docker:
- image: "debian:8"
@ -59,25 +59,4 @@ jobs:
docker:
- image: "debian:9"
steps:
- "checkout"
- run:
name: "Bootstrap test environment"
command: |
apt-get --quiet update
apt-get --quiet --yes install \
build-essential \
python2.7 \
python2.7-dev \
libffi-dev \
libssl-dev \
libyaml-dev \
virtualenv
virtualenv --python python2.7 tests
tests/bin/pip install tox
- run:
name: "Run test suite"
command: |
tests/bin/tox -e py27
<<: *DEBIAN