Skip to content

Commit

Permalink
* Shots in the dark.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Jul 17, 2018
1 parent a497678 commit 7046b26
Showing 1 changed file with 18 additions and 30 deletions.
48 changes: 18 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
version: 2

jobs:
build:
working_directory: ~/django_kala
docker:
- image: circleci/python:3.6.4
environment:
PIPENV_VENV_IN_PROJECT: true
steps:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages
- restore_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
command: |
sudo pip install pipenv
pipenv install
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- ".venv"
- "/usr/local/bin"
- "/usr/local/lib/python3.6/site-packages"
- run:
command: |
pipenv run "tox"
- store_test_results:
path: test-results
- store_artifacts:
path: test-results
destination: tr1

# using tox
toxify:

docker:
- image: python:3.6

steps:

- checkout

- run: pip install tox && tox

workflows:
version: 2
django_kala:
jobs:
- toxify

0 comments on commit 7046b26

Please sign in to comment.