From a614031a71ccb69b367de1f1b44b62902ee30fc6 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Tue, 16 Oct 2018 11:55:22 -0700 Subject: [PATCH] yet another circle fix --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a992f0..d5a0017 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: key: venv-{{ .Branch }}-{{ checksum "requirements.freeze.txt" }} - run: - name: Build and test + name: Python 2 dependencies command: | apt-get install -y python-virtualenv google-cloud-sdk-app-engine-python-extras virtualenv --python=python2 local @@ -38,6 +38,10 @@ jobs: ln -s $VIRTUAL_ENV local # we use app engine's vendor module to point here pip install coverage coveralls # for https://coveralls.io/ + - run: + name: Build and test + command: | + . local/bin/activate python2 -m coverage run --source=. --omit=appengine_config.py,local/\*,oauth-dropins/\*,tests/\* -m unittest discover -v python2 -m coverage html -d /tmp/coverage_html