Skip to content

Commit a565345

Browse files
committed
Replace Travis by GitHub Actions
1 parent 49d91ac commit a565345

3 files changed

Lines changed: 32 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
tests:
10+
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
max-parallel: 4
14+
matrix:
15+
os: [ubuntu-latest, windows-latest]
16+
python-version: [3.6, 3.7, 3.8]
17+
18+
steps:
19+
- uses: actions/checkout@v1
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v1
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
pip install flake8
27+
- name: Unit tests
28+
run: |
29+
python setup.py test
30+
- name: PEP8
31+
run: |
32+
flake8 --max-line-length 120 *.py

.travis.yml

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

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
Python API Client for Kanboard
33
==============================
44

5-
.. image:: https://travis-ci.org/kanboard/python-api-client.svg?branch=master
6-
:target: https://travis-ci.org/kanboard/python-api-client
7-
85
Client library for Kanboard API.
96

107
- Author: Frédéric Guillot

0 commit comments

Comments
 (0)