summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2019-11-25 16:39:27 -0300
committerGitHub <noreply@github.com>2019-11-25 16:39:27 -0300
commit4cdb65239968b96b1adcba125eb45a36814d6c35 (patch)
treea63bf25e3a5a2b1bfdb99d4ba74ab6a8a3d41f71
parent1efc9035aeb1a9cebb1ddcdc04bebf6388937dee (diff)
parentdb54393f4e01a037c8a9611680267facc2347e98 (diff)
downloadgerbonara-4cdb65239968b96b1adcba125eb45a36814d6c35.tar.gz
gerbonara-4cdb65239968b96b1adcba125eb45a36814d6c35.tar.bz2
gerbonara-4cdb65239968b96b1adcba125eb45a36814d6c35.zip
Merge pull request #107 from curtacircuitos/ph-move-to-gh-actions
Move CI to GitHub Actions
-rw-r--r--.github/workflows/pcb-tools.yml26
-rw-r--r--.travis.yml22
2 files changed, 26 insertions, 22 deletions
diff --git a/.github/workflows/pcb-tools.yml b/.github/workflows/pcb-tools.yml
new file mode 100644
index 0000000..6164c4a
--- /dev/null
+++ b/.github/workflows/pcb-tools.yml
@@ -0,0 +1,26 @@
+name: pcb-tools
+
+on: [push]
+
+jobs:
+ test:
+ strategy:
+ matrix:
+ python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
+
+ runs-on: ubuntu-latest
+
+ 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-dev.txt
+ - name: Test with pytest
+ run: |
+ pip install pytest
+ pytest
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 1226075..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-dist: xenial
-language: python
-python:
- - "2.7"
- - "3.4"
- - "3.5"
- - "3.6"
- - "3.7"
- - "3.8"
-
-# command to install dependencies
-install:
- - "pip install -r requirements-dev.txt"
- - "pip install coveralls"
-
-# command to run tests
-script:
- - make test-coverage
-
-# Coveralls
-after_success:
- - coveralls