diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index eb2def388..000000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -dist: xenial -language: python -python: - - '3.6' -addons: - postgresql: '10' - apt: - packages: - - postgresql-10 - - postgresql-client-10 - - postgresql-10-postgis-2.4 -install: - - pip install tox tox-travis coveralls - - npm install -before_script: - - psql -U postgres -c "create extension postgis" -script: - - tox -after_success: - - coveralls -notifications: - slack: - secure: XDoMlbyJR1HOfF3ibOGNEizbb7MYGG8abDPrVTdTBscV5d3vm7qE0Uvd7Hq7YefwhSv8dJ+psrnWwMxBH7Z8zQmyLDyeVCNysOIfc3JfLi/cgrxZ0x0GoqUiiW8sgMl4Um/9jlEpcd5te5HpIeCFp0PHDO3GIWpzxx7xMbS6/0Q= diff --git a/README.md b/README.md index ebc8a58a4..b9fc46924 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # EveryElection -[![Build Status](https://travis-ci.org/DemocracyClub/EveryElection.svg?branch=master)](https://travis-ci.org/DemocracyClub/EveryElection) [![Coverage Status](https://coveralls.io/repos/github/DemocracyClub/EveryElection/badge.svg?branch=master)](https://coveralls.io/github/DemocracyClub/EveryElection?branch=master) ![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg) +[![Build Status](https://circleci.com/gh/DemocracyClub/EveryElection.svg?style=svg)](https://circleci.com/gh/DemocracyClub/EveryElection) [![Coverage Status](https://coveralls.io/repos/github/DemocracyClub/EveryElection/badge.svg?branch=master)](https://coveralls.io/github/DemocracyClub/EveryElection?branch=master) ![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg) For recording every election in the UK diff --git a/requirements/testing.txt b/requirements/testing.txt index 358c40a80..ad58d078a 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -3,7 +3,6 @@ black==20.8b1 mock model-mommy -tox pytest pluggy pytest-django diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 8956f3c3f..000000000 --- a/tox.ini +++ /dev/null @@ -1,21 +0,0 @@ -[tox] -# Ensure you add to .travis.yml if you add here -# envlist = {py27,py34}-django{18,19,110} -envlist = {py36}-django22 -skipsdist = True - -[tox:travis] -3.6 = py36 - -[testenv] -# usedevelop = true -# whitelist_externals = -# psql -deps = -r{toxinidir}/requirements/testing.txt - -commands = - pip check - python manage.py check - pytest --flakes - black --check . - pytest --cov-report= --cov=every_election