Skip to content
This repository was archived by the owner on Jun 7, 2021. It is now read-only.

Commit 5e403a9

Browse files
committed
Switch from Travis to GitHub Actions. (#60)
1 parent 2c1ac9c commit 5e403a9

4 files changed

Lines changed: 29 additions & 29 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Python package
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: [2.7, 3.5, 3.6, 3.7]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -r requirements.txt
23+
- name: Lint with flake8
24+
run: |
25+
pip install flake8
26+
flake8 webthing --count --max-line-length=79 --statistics
27+
- name: Test with pytest
28+
run: |
29+
./test.sh

.travis.yml

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

run-tests.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)