Skip to content

Commit 010605f

Browse files
committed
Replace travis config with gh actions
1 parent 41300ee commit 010605f

File tree

2 files changed

+32
-13
lines changed

2 files changed

+32
-13
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Python package
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-20.04
12+
strategy:
13+
matrix:
14+
python-version: [2.7, 3.6]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install -r dev_requirements.txt
26+
python -m pip install -r requirements.txt
27+
- name: Lint Code
28+
run: python -m pylint ./pusher_push_notifications/*.py
29+
- name: Lint Docs
30+
run: python setup.py checkdocs
31+
- name: Test
32+
run: python -m nose -s --with-coverage && codecov

.travis.yml

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

0 commit comments

Comments
 (0)