blob: 8d5f6e7308d0a9823bd7ff53d2632dca6a245f96 (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
version: 2
workflows:
version: 2
test:
jobs:
- test-2.7
- test-3.4
- test-3.5
- test-3.6
- test-3.7
jobs:
test-3.7: &test-template
parallelism: 1
docker:
- image: circleci/python:3.7
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
steps:
- checkout
- run: python --version
- run: python -m unittest discover
- store_test_results:
path: /tmp/circleci-test-results
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
test-3.6:
<<: *test-template
docker:
- image: circleci/python:3.6
test-3.5:
<<: *test-template
docker:
- image: circleci/python:3.5
test-3.4:
<<: *test-template
docker:
- image: circleci/python:3.4
test-2.7:
<<: *test-template
docker:
- image: circleci/python:2.7
|