Skip to content

Commit d1ed43b

Browse files
committed
BNCASB-2204: Adding template to the circleci config.yml
1 parent fa0a5c6 commit d1ed43b

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

.circleci/config.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ workflows:
33
version: 2
44
eb-sqs-jobs:
55
jobs:
6-
- test-python-3
7-
- test-python-2
8-
- test-python-3-6
6+
- test-python-3-5
7+
- test-python-2-7
98
jobs:
10-
test-python-3: &test-template
9+
test-python-3-5: &test-template
1110
docker:
1211
- image: circleci/python:3.5-jessie
1312
steps:
@@ -21,21 +20,7 @@ jobs:
2120
name: Run tests
2221
command: |
2322
python -m django test --settings=eb_sqs.test_settings
24-
test-python-2:
25-
docker:
26-
- image: circleci/python:2.7-jessie
27-
steps:
28-
- add_ssh_keys
29-
- checkout
30-
- run:
31-
name: Install dependencies
32-
command: |
33-
sudo pip install -r development.txt
34-
- run:
35-
name: Run tests
36-
command: |
37-
python -m django test --settings=eb_sqs.test_settings
38-
test-python-3-6:
23+
test-python-2-7:
3924
<<: *test-template
4025
docker:
41-
- image: circleci/python:3.6-jessie
26+
- image: circleci/python:2.7-jessie

0 commit comments

Comments
 (0)