Skip to content

Commit

Permalink
Removed travis support -switching to gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Moors authored and Dirk Moors committed Oct 13, 2023
1 parent 6d5be09 commit 931523f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python package

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist =
{py39,py310,py311}-django{32,40,41,42}

[travis]
[gh-actions]
python =
3.9: py39-django32, py39-django40, py39-django41, py39-django42
3.10: py310-django32, py310-django40, py310-django41, py310-django42
Expand Down

0 comments on commit 931523f

Please sign in to comment.