Merge pull request #15 from umarcor/ci/gha

ci: migrate from Travis CI to GitHub Actions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..4ce83c5
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,43 @@
+name: CI
+
+on:
+  push:
+  pull_request:
+
+jobs:
+
+
+  Checks:
+    runs-on: ubuntu-latest
+    steps:
+    - 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
diff --git a/tox.ini b/tox.ini
index ea11e92..0dab1bb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,13 +1,17 @@
 [tox]
-envlist = py{27,34,35,36,37}
+envlist = py{27,34,35,36,37,38,39}
 
 [testenv]
 setenv =
     PYTHONPATH={toxinidir}/vtr_xml_utils
+
 basepython =
     py35: python3.5
     py36: python3.6
     py37: python3.7
+    py38: python3.8
+    py39: python3.9
+
 deps =
     check-manifest
     # If your project uses README.rst, uncomment the following:
@@ -15,14 +19,17 @@
     flake8
     pytest
     lxml
+
 commands =
     check-manifest --ignore tox.ini,tests*
     # This repository uses a Markdown long_description, so the -r flag to
     # `setup.py check` is not needed. If your project contains a README.rst,
     # use `python setup.py check -m -r -s` instead.
-    python setup.py check -m -s
-    flake8 .
-    pytest -vvvv
+    {envpython} setup.py check -m -s
+    {envpython} -m flake8 .
+    {envpython} -m pytest -vvvv
 [flake8]
+
 exclude = .tox,*.egg,build,data
+
 select = E,W,F