aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2018-10-17 17:04:24 +1100
committerMiguel Jacq <mig@mig5.net>2018-10-17 17:04:24 +1100
commit68bff3fd50240e174aa311c44d1112a1424ed7af (patch)
tree32a0bc88c208f5385e35389c4ad0bd27e950fec6 /.circleci
parent67d75826aeb55ce1277324daf8cb6e0d317149f2 (diff)
downloadonionshare-68bff3fd50240e174aa311c44d1112a1424ed7af.tar.gz
onionshare-68bff3fd50240e174aa311c44d1112a1424ed7af.zip
circleci tweaks
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index f50a98f7..ff902d04 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -22,18 +22,14 @@ jobs:
name: install dependencies
command: |
sudo apt-get update && sudo apt-get install python3-pyqt5
- python3 -m venv venv
- . venv/bin/activate
- pip install -r install/requirements.txt
- pip install -r install/requirements-tests.txt
- pip install pytest-cov flake8
- pip install -r install/requirements-tests.txt
+ pip3 install -r install/requirements.txt
+ pip3 install -r install/requirements-tests.txt
+ pip3 install pytest-cov flake8
# run tests!
- run:
name: run flask tests
command: |
- . venv/bin/activate
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
@@ -42,6 +38,5 @@ jobs:
- run:
name: run tests
command: |
- . venv/bin/activate
xvfb-run pytest --cov=onionshare --cov=onionshare_gui --cov-report=term-missing -vvv tests/