diff --git a/.circleci/config.yml b/.circleci/config.yml index 4ceed0f..9ffda44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,13 +7,9 @@ jobs: build: docker: # specify the version you desire here - # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers` - - image: circleci/python:3.6.1 - - # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/postgres:9.4 + - image: circleci/python:3.6.1 working_directory: ~/repo @@ -32,7 +28,8 @@ jobs: command: | python3 -m venv venv . venv/bin/activate - pip install -r requirements.txt + pip install -e . + pip install tox - save_cache: paths: @@ -48,7 +45,7 @@ jobs: name: run tests command: | . venv/bin/activate - python manage.py test + tox - store_artifacts: path: test-reports