forked from transifex/transifex-python-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
30 lines (25 loc) · 751 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 2
jobs:
build:
docker:
- image: transifex/pyenv-tox
working_directory: /home/debian/transifex-python-library
steps:
- checkout
- restore_cache:
keys:
- txlib_too-{{ checksum "circle.yml" }}-{{ checksum "setup.py" }}
- txlib_too-{{ checksum "circle.yml" }}
- txlib_too-
- run: |
mkdir -p test-results
tox -- --cov-report xml --junitxml=test-results/junit.xml
- save_cache:
key: txlib_too-{{ checksum "circle.yml" }}-{{ checksum "setup.py" }}
paths:
- ~/.cache/pip
- .tox
- store_artifacts:
path: test-results/
- store_test_results:
path: test-results/