ci: migrate from Travis CI to GitHub Actions Signed-off-by: umarcor <unai.martinezcorral@ehu.eus>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cc0681..4ce83c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml
@@ -13,3 +13,31 @@ - uses: actions/checkout@v2 - uses: symbiflow/actions/checks@main + + + Tests: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - { version: 3.5, ver: 35 } + - { version: 3.6, ver: 36 } + - { version: 3.7, ver: 37 } + - { version: 3.8, ver: 38 } + - { version: 3.9, ver: 39 } + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.version}} + + - name: Install dependencies + run: | + pip install wheel setuptools + pip install tox + + - run: python -m tox + env: + TOXENV: py${{ matrix.ver}}
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d5791ae..0000000 --- a/.travis.yml +++ /dev/null
@@ -1,17 +0,0 @@ -language: python - -matrix: - include: - - python: 3.5 - env: TOXENV=py35 - - python: 3.6 - env: TOXENV=py36 - - python: 3.7 - env: TOXENV=py37 - -install: pip install tox - -script: tox - -notifications: - email: false