From c16026bd883bd5abcd33945244ef602e157dd744 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Fri, 8 Jun 2018 14:58:25 -0400 Subject: [PATCH] Try running the test suite --- .circleci/config.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index eb75a608e..2893648bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,7 @@ workflows: ci: jobs: - "lint" + - "tests" jobs: lint: @@ -20,3 +21,30 @@ jobs: command: | pip install --user tox ~/.local/bin/tox -e codechecks + + tests: + docker: + - image: "debian:8" + + 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