Skip to content

Commit e5a2e0f

Browse files
committed
Move to CircleCI
1 parent dffe096 commit e5a2e0f

File tree

2 files changed

+34
-31
lines changed

2 files changed

+34
-31
lines changed

.circleci/config.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2.1
2+
3+
orbs:
4+
python: circleci/[email protected]
5+
6+
jobs:
7+
python-build-and-test:
8+
executor: python/default
9+
steps:
10+
- checkout
11+
- python/load-cache
12+
- python/install-deps
13+
- python/save-cache
14+
- run: pip install --editable .
15+
- run: pip install black
16+
- run:
17+
name: Check format with Black
18+
command: black --check .
19+
- run:
20+
name: run tests
21+
command: |
22+
pip install pytest
23+
mkdir test-results
24+
pytest --junitxml=test-results/junit.xml
25+
26+
- store_test_results:
27+
path: test-results
28+
- store_artifacts:
29+
path: test-results
30+
31+
workflows:
32+
main:
33+
jobs:
34+
- python-build-and-test

.travis.yml

-31
This file was deleted.

0 commit comments

Comments
 (0)