Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into pyup-update-pytest-4.5.0-to-4.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Jheng committed Jun 17, 2019
2 parents 309947a + 03e4259 commit 91ffd1d
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 34 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Expand Up @@ -57,21 +57,22 @@ variables:

- restore_cache:
keys:
- pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}
- pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}-{{ checksum "Pipfile" }}

- run:
name: install dependencies
command: |
pip install --user -U pip
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-test.txt
pip install coveralls
- save_cache:
paths:
- ./venv
key: pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}
key: pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}-{{ checksum "Pipfile" }}

- run:
name: run tests
Expand Down Expand Up @@ -129,7 +130,7 @@ jobs:

- restore_cache:
keys:
- pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}
- pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}-{{ checksum "Pipfile" }}

- run:
name: install dependencies
Expand All @@ -143,7 +144,7 @@ jobs:
- save_cache:
paths:
- ./venv
key: pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}
key: pip-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements-test.txt" }}-{{ checksum "requirements.txt" }}-{{ checksum "Pipfile" }}


- run:
Expand Down
1 change: 0 additions & 1 deletion .pyup.yml
Expand Up @@ -4,4 +4,3 @@ requirements:
- requirements.txt
- test-requirements.txt
- Pipfile
- Pipfile.lock
2 changes: 1 addition & 1 deletion Pipfile
Expand Up @@ -8,7 +8,7 @@ name = "pypi"
[packages]

beautifulsoup4 = "==4.7.1"
peewee = "==3.9.5"
peewee = "==3.9.6"
requests = "==2.21.0"


Expand Down
93 changes: 66 additions & 27 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,3 +1,3 @@
beautifulsoup4==4.7.1
peewee==3.9.5
peewee==3.9.6
requests==2.21.0

0 comments on commit 91ffd1d

Please sign in to comment.