Skip to content

Commit cb1c12e

Browse files
authored
Merge pull request #29 from jdufresne/gha
Convert CI from Travis to GitHub actions
2 parents 1207a31 + adebc1d commit cb1c12e

File tree

4 files changed

+52
-29
lines changed

4 files changed

+52
-29
lines changed

.github/workflows/ci.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
docs:
9+
name: docs
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-python@v2
15+
- run: python -m pip install tox
16+
- run: tox -e docs
17+
18+
pep8:
19+
name: pep8
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-python@v2
25+
- run: python -m pip install tox
26+
- run: tox -e pep8
27+
28+
tests:
29+
name: tests / Python ${{ matrix.python }}
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
python:
34+
- '2.7'
35+
- '3.5'
36+
- '3.6'
37+
- '3.7'
38+
- '3.8'
39+
- '3.9'
40+
- 'pypy2'
41+
- 'pypy3'
42+
43+
steps:
44+
- uses: actions/checkout@v2
45+
- uses: actions/setup-python@v2
46+
with:
47+
python-version: ${{ matrix.python }}
48+
- run: python -m pip install tox
49+
- run: tox -e py

.travis.yml

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

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ scripttest
55
:target: https://pypi.python.org/pypi/scripttest/
66
:alt: Latest Version
77

8-
.. image:: https://img.shields.io/travis/pypa/scripttest/master.svg
9-
:target: http://travis-ci.org/pypa/scripttest
8+
.. image:: https://github.com/pypa/scripttest/actions/workflows/ci.yaml/badge.svg
9+
:target: https://github.com/pypa/scripttest/actions/workflows/ci.yaml
1010
:alt: Build Status
1111

1212
scripttest is a library to help you test your interactive command-line

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{27,33,34,35},pypy,pypy3,docs,pep8
2+
envlist = py{27,35,36,37,38,39},pypy,pypy3,docs,pep8
33

44
[testenv]
55
deps = pytest

0 commit comments

Comments
 (0)