2018-09-05 04:15:32 -04:00
|
|
|
version: 2
|
|
|
|
|
|
|
|
|
|
jobs:
|
2019-11-17 19:45:59 +00:00
|
|
|
flake8:
|
|
|
|
|
docker:
|
|
|
|
|
- image: circleci/python:3.6
|
|
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
name: Install flake8
|
|
|
|
|
command: sudo python -m pip install flake8
|
|
|
|
|
- run:
|
|
|
|
|
name: Test.
|
2020-02-15 12:15:44 +00:00
|
|
|
command: flake8 .
|
2020-02-03 15:31:51 +01:00
|
|
|
osx-python3.6:
|
2018-09-05 04:15:32 -04:00
|
|
|
macos:
|
2020-02-03 15:31:51 +01:00
|
|
|
xcode: "9.4.1"
|
2018-09-05 04:15:32 -04:00
|
|
|
environment:
|
2020-02-03 15:31:51 +01:00
|
|
|
PYTHON: python3
|
2018-09-05 04:15:32 -04:00
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
name: Prepare the environment.
|
2019-09-07 21:55:42 +01:00
|
|
|
command: bash .circleci/prepare.sh
|
2018-09-05 04:15:32 -04:00
|
|
|
- run:
|
|
|
|
|
name: Test.
|
2019-09-07 21:55:42 +01:00
|
|
|
command: venv/bin/python ./bin/run_tests.py
|
2018-09-05 04:15:32 -04:00
|
|
|
|
2020-02-03 15:31:51 +01:00
|
|
|
osx-python3.7:
|
2018-09-05 04:15:32 -04:00
|
|
|
macos:
|
|
|
|
|
xcode: "10.0.0"
|
|
|
|
|
environment:
|
|
|
|
|
PYTHON: python3
|
|
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
name: Prepare the environment.
|
2019-09-07 21:55:42 +01:00
|
|
|
command: bash .circleci/prepare.sh
|
2018-09-05 04:15:32 -04:00
|
|
|
- run:
|
|
|
|
|
name: Test.
|
2019-09-07 21:55:42 +01:00
|
|
|
command: venv/bin/python ./bin/run_tests.py
|
2018-09-05 04:15:32 -04:00
|
|
|
|
2020-02-03 15:31:51 +01:00
|
|
|
linux-python3.6:
|
2018-09-05 04:15:32 -04:00
|
|
|
docker:
|
|
|
|
|
- image: circleci/python:3.6
|
|
|
|
|
environment:
|
|
|
|
|
PYTHON: python3
|
|
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- setup_remote_docker
|
|
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
name: Prepare the environment.
|
2019-09-07 21:55:42 +01:00
|
|
|
command: bash .circleci/prepare.sh
|
2018-09-05 04:15:32 -04:00
|
|
|
- run:
|
|
|
|
|
name: Test.
|
2019-09-07 21:55:42 +01:00
|
|
|
command: venv/bin/python ./bin/run_tests.py
|
2018-09-05 04:15:32 -04:00
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
|
version: 2
|
|
|
|
|
all-tests:
|
|
|
|
|
jobs:
|
2019-11-17 19:45:59 +00:00
|
|
|
- flake8
|
2020-02-03 15:31:51 +01:00
|
|
|
- osx-python3.6
|
|
|
|
|
- osx-python3.7
|
|
|
|
|
- linux-python3.6
|