Skip to content

Commit

Permalink
replace travis with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alekna committed May 29, 2020
1 parent 6b47350 commit 7728180
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 37 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python: [3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install flake8 and Tox
run: pip install flake8 tox
- name: Lint with flake8
run: |
flake8 stacks --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 stacks --count --exit-zero --max-complexity=10
- name: Run Tox
run: tox -e py
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

0 comments on commit 7728180

Please sign in to comment.