Skip to content

Commit

Permalink
Merge pull request #4 from shivammathur/develop
Browse files Browse the repository at this point in the history
Remove travis, coveralls and use only github actions
  • Loading branch information
shivammathur authored Oct 2, 2019
2 parents 4e63f70 + 103d5c5 commit 1287bdf
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 82 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/deps.py

This file was deleted.

19 changes: 13 additions & 6 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@ jobs:
max-parallel: 12
matrix:
platform: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [2.7, 3.5, 3.6, 3.7]
python-version: [27, 35, 36, 37]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: shivammathur/setup-python@master
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}
- name: Install iputils-ping on Linux
if: matrix.platform == 'ubuntu-latest'
run: sudo apt-get install iputils-ping
- name: Install dependencies
run: python .github/workflows/deps.py
- name: Test with pytest
run: python .github/workflows/test.py
run: |
python -m pip install --upgrade pip
pip install tox pytest-cov
- name: Test with tox
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: tox -e py${{ matrix.python-version }}
3 changes: 0 additions & 3 deletions .github/workflows/test.py

This file was deleted.

55 changes: 0 additions & 55 deletions .travis.yml

This file was deleted.

9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ deps =
-r{toxinidir}/requirements_dev.txt
-r{toxinidir}/requirements.txt
codecov>=1.4.0
coveralls
passenv = CI TRAVIS TRAVIS_*
pytest-cov
passenv = CODECOV_*
commands =
py.test --basetemp={envtmpdir}
codecov -e TOXENV
coveralls
py.test --basetemp={envtmpdir} --cov=ippy
codecov -e TOXENV

0 comments on commit 1287bdf

Please sign in to comment.