Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: ci

on: [push, pull_request]

jobs:

ubuntu:
runs-on: ubuntu-18.04
timeout-minutes: 5

strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
include:
- python-version: 3.5
tox-env: py35
- python-version: 3.6
tox-env: py36
- python-version: 3.7
tox-env: py37
- python-version: 3.8
tox-env: py38

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install system dependencies
run: |
sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list
sudo apt update
sudo apt install libev-dev libevent-dev

- name: Install test dependencies
run: |
pip install tox coveralls

- name: Run test suite
run: tox -v -e $TOX_ENV
env:
TOX_ENV: ${{ matrix.tox-env }}


multi-os:
# Run tests for one python version on different operating systems

runs-on: ${{ matrix.os }}
timeout-minutes: 5

strategy:
matrix:
os: ['macos-10.15', 'windows-2019']

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

#- name: Install system dependencies
# shell: bash -l {0}
# run: |
# conda install -y -c anaconda postgresql
# initdb -D test_db
# pg_ctl -D test_db start

- name: Install test dependencies
run: |
pip install tox coveralls

- name: Run test suite
shell: bash -l {0}
run: tox -v -e $TOX_ENV
env:
TOX_ENV: py38
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include CONTRIBUTORS.txt
include README.rst
include README.md
include LICENSE
include pip-requirements.txt
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
![Build Status](https://github.com/circus-tent/circus/workflows/ci/badge.svg)](https://github.com/circus-tent/circus/actions)
[![Coverage Status](https://coveralls.io/repos/github/circus-tent/circus/badge.svg?branch=master)](https://coveralls.io/github/circus-tent/circus?branch=master)
![PyPI](https://img.shields.io/pypi/v/circus)
![PyPI - Downloads](https://img.shields.io/pypi/dm/circus)
# Circus

Circus is a program that runs and watches processes and sockets.
Circus can be used as a library or through the command line.

![Build Status](https://secure.travis-ci.org/circus-tent/circus.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/circus-tent/circus/badge.svg?branch=master)](https://coveralls.io/github/circus-tent/circus?branch=master) ![PyPI](https://img.shields.io/pypi/v/circus) ![PyPI - Downloads](https://img.shields.io/pypi/dm/circus)

## Links

- [Full Documentation](https://circus.readthedocs.io)
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
raise SystemExit("Circus requires Python 3.5 or higher.")


install_requires = ['psutil', 'pyzmq>=17.0', 'tornado>=5.0.2']
install_requires = [
'psutil',
'pyzmq>=17.0',
'tornado>=5.0.2',
'windows-curses>=2.1.0;platform_system=="Windows"',
]

try:
import argparse # NOQA
Expand Down