Skip to content

Commit f37892b

Browse files
committed
Replace travis with Github Actions
1 parent ec98b3c commit f37892b

2 files changed

Lines changed: 31 additions & 23 deletions

File tree

.github/workflows/build.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# run at 7:00 on the first of every month
8+
- cron: '0 7 1 * *'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
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+
pip install "blessings>=1.5" "wcwidth>=0.1.4" mock pyte nose
26+
- name: Build with Python ${{ matrix.python-version }}
27+
run: |
28+
python setup.py build
29+
- name: Test with nosetest
30+
run: |
31+
nosetests .

.travis.yml

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

0 commit comments

Comments
 (0)