2019-02-24 14:35:56 +01:00
|
|
|
version: 2
|
|
|
|
|
jobs:
|
2019-02-24 14:54:09 +01:00
|
|
|
build35:
|
|
|
|
|
docker:
|
|
|
|
|
- image: circleci/python:3.5
|
|
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.5/site-packages
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
sudo pip install -r requirements.txt
|
|
|
|
|
sudo pip install -r dev_requirements.txt
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
mkdir test-reports
|
|
|
|
|
pytest --junitxml=test-reports/junit.xml
|
|
|
|
|
- store_test_results:
|
|
|
|
|
path: test-results
|
|
|
|
|
- store_artifacts:
|
|
|
|
|
path: test-results
|
|
|
|
|
build36:
|
2019-02-24 14:35:56 +01:00
|
|
|
docker:
|
2019-02-24 14:54:09 +01:00
|
|
|
- image: circleci/python:3.6
|
2019-02-24 14:35:56 +01:00
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
sudo pip install -r requirements.txt
|
|
|
|
|
sudo pip install -r dev_requirements.txt
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
mkdir test-reports
|
|
|
|
|
pytest --junitxml=test-reports/junit.xml
|
|
|
|
|
- store_test_results:
|
|
|
|
|
path: test-results
|
|
|
|
|
- store_artifacts:
|
2019-02-24 14:54:09 +01:00
|
|
|
path: test-results
|
|
|
|
|
build37:
|
|
|
|
|
docker:
|
|
|
|
|
- image: circleci/python:3.7
|
|
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.7/site-packages
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
sudo pip install -r requirements.txt
|
|
|
|
|
sudo pip install -r dev_requirements.txt
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
mkdir test-reports
|
|
|
|
|
pytest --junitxml=test-reports/junit.xml
|
|
|
|
|
- store_test_results:
|
|
|
|
|
path: test-results
|
|
|
|
|
- store_artifacts:
|
|
|
|
|
path: test-results
|
2020-03-03 19:48:23 +01:00
|
|
|
build38:
|
|
|
|
|
docker:
|
|
|
|
|
- image: circleci/python:3.8
|
|
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.8/site-packages
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
sudo pip install -r requirements.txt
|
|
|
|
|
sudo pip install -r dev_requirements.txt
|
|
|
|
|
- run:
|
|
|
|
|
command: |
|
|
|
|
|
mkdir test-reports
|
|
|
|
|
pytest --junitxml=test-reports/junit.xml
|
|
|
|
|
- store_test_results:
|
|
|
|
|
path: test-results
|
|
|
|
|
- store_artifacts:
|
|
|
|
|
path: test-results
|
2019-02-24 14:54:09 +01:00
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
|
version: 2
|
|
|
|
|
build:
|
|
|
|
|
jobs:
|
|
|
|
|
- build35
|
|
|
|
|
- build36
|
2020-03-03 19:48:23 +01:00
|
|
|
- build37
|
|
|
|
|
- build38
|