Skip to content

Commit edd74f7

Browse files
TimSangsterewaldbervoets
authored andcommitted
chore: move ci to circleci
1 parent d4a0c9a commit edd74f7

File tree

2 files changed

+40
-18
lines changed

2 files changed

+40
-18
lines changed

.circleci/config.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 2.1
2+
3+
orbs:
4+
python: circleci/[email protected]
5+
6+
jobs:
7+
build-and-test:
8+
docker:
9+
- image: cimg/python:3.9
10+
steps:
11+
- checkout
12+
- python/install-packages:
13+
pkg-manager: pip
14+
- run:
15+
name: Run tests
16+
command: pytest -m "not compiled" --cov=pythonwhat
17+
publish:
18+
docker:
19+
- image: cimg/python:3.9
20+
steps:
21+
- checkout
22+
- run:
23+
command: |
24+
python setup.py sdist bdist_wheel
25+
pip install pipenv
26+
pipenv install twine
27+
pipenv run twine upload --verbose --repository pypi dist/*
28+
29+
workflows:
30+
build:
31+
jobs:
32+
- build-and-test
33+
- publish:
34+
requires:
35+
- build-and-test
36+
filters:
37+
tags:
38+
only: /^.*#v\d+\.\d+\.\d+(-rc\.\d+)?$/
39+
branches:
40+
ignore: /.*/

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)