Skip to content

Commit

Permalink
Merge pull request #7 from billtrn/circleci-project-setup
Browse files Browse the repository at this point in the history
Migrate to CircleCI
  • Loading branch information
ducttrn committed Dec 4, 2023
2 parents 4acb776 + a50b0a9 commit 778270e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 15 deletions.
35 changes: 35 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: 2.1

orbs:
python: circleci/python@1.5.0

jobs:
build-and-test:
docker:
- image: circleci/python:3.9

steps:
- checkout

- run:
name: Install Dependencies
command: |
sudo apt-get update
sudo apt-get install graphviz libgraphviz-dev
pip install poetry
poetry install
pip install coveralls
- run:
name: Run Tests
command: |
poetry run pytest --cov=dsplot
- run:
name: Upload Coverage to Coveralls
command: coveralls

workflows:
test:
jobs:
- build-and-test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ DSPlot - Data Structure Visualization
<a href="https://badge.fury.io/py/dsplot">
<img src="https://badge.fury.io/py/dsplot.svg" alt="PyPI version" height="18">
</a>
<a href="https://travis-ci.com/billtrn/dsplot">
<img src="https://travis-ci.com/billtrn/dsplot.svg?branch=master" alt="Build Status" height="18">
<a href="https://dl.circleci.com/status-badge/redirect/circleci/5AFmWEafY2avg6nRh9G3Rw/7QZG8vWJDWRJPjULgXxNSc/tree/main">
<img src="https://dl.circleci.com/status-badge/img/circleci/5AFmWEafY2avg6nRh9G3Rw/7QZG8vWJDWRJPjULgXxNSc/tree/main.svg?style=svg" alt="Build Status" height="18">
</a>
<a href="https://coveralls.io/github/billtrn/dsplot?branch=master">
<img src="https://coveralls.io/repos/github/billtrn/dsplot/badge.svg?branch=master" alt="Coverage Status" height="18">
Expand Down

0 comments on commit 778270e

Please sign in to comment.