Skip to content

Commit

Permalink
Use GitHub Actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 authored and ageitgey committed Feb 20, 2020
1 parent b66dbd9 commit d621bb4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.4, 3.5, 3.6, 3.7]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install setuptools wheel
pip install .
pip install tox-gh-actions
- name: Check package setup
run: python setup.py check
- name: Test
run: tox
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ envlist =
py34
py35
py36
py37
flake8


[travis]
[gh-actions]
python =
2.7: py27, flake8
3.4: py34, flake8
3.5: py35, flake8
3.6: py36, flake8
3.7: py37, flake8


[testenv]
Expand Down

0 comments on commit d621bb4

Please sign in to comment.