summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Le Marec - Pasquet <kiorky@cryptelium.net>2022-02-01 21:33:11 +0100
committerMathieu Le Marec - Pasquet <kiorky@cryptelium.net>2021-03-02 19:57:26 +0100
commit4743dd2ce2965dd37b789bdc5f2b32eb6309a595 (patch)
tree06ddbcd7d8d2403e351203d26a9051463871360d
parentcf94c26595e65e248f6289e6167a3b2177ae1521 (diff)
downloadcroniter-wf.tar.gz
mv to github actionswf
-rw-r--r--.github/workflows/cicd.yml26
-rw-r--r--.travis.yml21
2 files changed, 26 insertions, 21 deletions
diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml
new file mode 100644
index 0000000..ce178c9
--- /dev/null
+++ b/.github/workflows/cicd.yml
@@ -0,0 +1,26 @@
+name: croniter
+on: [push]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ set -ex
+ python -m pip install --upgrade pip
+ pip install -r requirements/test.txt
+ - name: Test with pytest
+ run: |
+ pyver=$(python --version 2>&1 | awk '{print substr($2, 0, 3)}');
+ case $pyver in
+ 2.7) tox -e "py${pyver//\.}-{std,coverage}";;
+ *) tox -e "py${pyver//\.}-std";;
+ esac
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 7f3d1a8..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-sudo: false
-language: python
-python:
-# - 2.6
- - 2.7
- - 3.4
- - 3.5
- - 3.6
- - 3.7
- - 3.8
- - 3.9
-install:
- - pip install -r requirements/test.txt
-script:
- - pyver=$(python --version 2>&1 | awk '{print substr($2, 0, 3)}');
- case $pyver in
- 2.7) tox -e "py${pyver//\.}-{std,coverage}";;
- *) tox -e "py${pyver//\.}-std";;
- esac
-after_success:
- - coveralls