[go: nahoru, domu]

Skip to content

Commit

Permalink
Migrate from travis to github.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Dec 8, 2020
1 parent 51b886b commit f595034
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 38 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.9]

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install coveralls
- name: Test
run: |
coverage run --source=cantools setup.py test
make test-sdist
env PYTHONPATH=. python examples/hello_world.py
env PYTHONPATH=. python examples/diagnostics/did.py
make test-c-clean
make test-c
make test-c-clean
CC=gcc-8 make test-c
make test-c-clean
CC=clang-8 make test-c-src
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
|buildstatus|_
|appveyor|_
|coverage|_
|nala|_
Expand Down Expand Up @@ -292,9 +291,6 @@ Contributing
#. Create a pull request.

.. |buildstatus| image:: https://travis-ci.com/eerimoq/cantools.svg?branch=master
.. _buildstatus: https://travis-ci.com/eerimoq/cantools

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/eerimoq/cantools?svg=true
.. _appveyor: https://ci.appveyor.com/project/eerimoq/cantools/branch/master

Expand Down

0 comments on commit f595034

Please sign in to comment.