Skip to content

Commit

Permalink
Update circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
kfdm committed Feb 28, 2020
1 parent 6f104d4 commit e66e596
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
version: 2
version: 2.1

jobs:
build:
branches:
Expand All @@ -17,9 +18,11 @@ jobs:
curl -L -s https://github.com/prometheus/prometheus/releases/download/v2.8.1/prometheus-2.8.1.linux-amd64.tar.gz |\
sudo tar -xz -C /usr/local/bin --strip-components=1 prometheus-2.8.1.linux-amd64/promtool
sudo chmod +x /usr/local/bin/promtool
- run: pipenv install --dev
- run: pipenv run promgen test
- run: pipenv run coverage html -d test-results
- run: pipenv run codecov
- run: mkdir -p test-results
- run: python3 -m venv .venv
- run: .venv/bin/pip install -r docker/requirements.txt
- run: .venv/bin/pip install -e .[dev]
- run: .venv/bin/promgen test --with-xunit --xunit-file test-results/nosetests.xml
- run: .venv/bin/codecov
- store_test_results:
path: test-results
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'codecov',
'django-nose',
'nose-cov',
'unittest-xml-reporting',
],
'docs': [
'Sphinx',
Expand Down

0 comments on commit e66e596

Please sign in to comment.