lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.16-2-g5785afb

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.16-2-g5785afb



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  5785afbf4079c3fd27c700b0e2153f91974319f0 (commit)
       via  7c0bb84ca1898ceaba32c534bc5f840986c6783d (commit)
      from  075d85e8e45b7deda49c034949e9a71288150a41 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=5785afbf4079c3fd27c700b0e2153f91974319f0

commit 5785afbf4079c3fd27c700b0e2153f91974319f0
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Mar 21 14:40:34 2021 +0100

    Replace Travis with GitHub actions

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..d51079d
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,51 @@
+---
+
+name: Test
+
+on:
+  push:
+  pull_request:
+  schedule:
+    - cron: '9 0 * * 1'
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy-2.7, pypy-3.6]
+      fail-fast: false
+    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: python -m pip install --upgrade pip tox
+      - name: Run tox
+        run: tox -e "$(echo py${{ matrix.python-version }} | sed -e 
's/[.-]//g;s/pypypy/pypy/')" --skip-missing-interpreters false
+  docs:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up Python 3.8
+        uses: actions/setup-python@v2
+        with:
+          python-version: 3.8
+      - name: Install dependencies
+        run: python -m pip install --upgrade pip tox
+      - name: Run tox
+        run: tox -e docs --skip-missing-interpreters false
+  flake8:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up Python 3.8
+        uses: actions/setup-python@v2
+        with:
+          python-version: 3.8
+      - name: Install dependencies
+        run: python -m pip install --upgrade pip tox
+      - name: Tox
+        run: tox -e flake8 --skip-missing-interpreters false
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 52e772e..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-language: python
-os: linux
-dist: bionic
-cache: pip
-jobs:
-  include:
-  - python: 2.7
-  - python: 3.5
-  - python: 3.6
-  - python: 3.7
-  - python: 3.8
-  - python: 3.9
-  - python: pypy
-    dist: xenial
-  - python: pypy3
-  - python: 3.8
-    env: TOXENV=flake8
-  - python: 3.8
-    env: TOXENV=docs
-install: pip install tox
-script: tox -e "${TOXENV:-$(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 
's/pypypy/pypy/')}" --skip-missing-interpreters false

https://arthurdejong.org/git/python-stdnum/commit/?id=7c0bb84ca1898ceaba32c534bc5f840986c6783d

commit 7c0bb84ca1898ceaba32c534bc5f840986c6783d
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Mar 21 19:41:02 2021 +0100

    Drop support for Python 2.6 and 3.4
    
    It is increasingly difficult to test with these versions of Python and
    everybody should have upgraded to a more recent version long ago.

diff --git a/.travis.yml b/.travis.yml
index 2f039bf..52e772e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,11 +4,7 @@ dist: bionic
 cache: pip
 jobs:
   include:
-  - python: 2.6
-    dist: trusty
   - python: 2.7
-  - python: 3.4
-    dist: xenial
   - python: 3.5
   - python: 3.6
   - python: 3.7
diff --git a/setup.py b/setup.py
index d0691e7..4f48ebb 100755
--- a/setup.py
+++ b/setup.py
@@ -62,10 +62,8 @@ setup(
         'Operating System :: OS Independent',
         'Programming Language :: Python',
         'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
diff --git a/tox.ini b/tox.ini
index 2b822c0..873bef9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py{26,27,34,35,36,37,38,39,py,py3},flake8,docs
+envlist = py{27,35,36,37,38,39,py,py3},flake8,docs
 skip_missing_interpreters = true
 
 [testenv]
@@ -9,11 +9,6 @@ commands = nosetests
 setenv=
     PYTHONWARNINGS=all
 
-[testenv:py26]
-basepython = python2.6
-usedevelop = true
-commands = nosetests --ignore-file="test_.*.py"
-
 [testenv:flake8]
 skip_install = true
 deps = flake8

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/test.yml | 51 ++++++++++++++++++++++++++++++++++++++++++++++
 .travis.yml                | 25 -----------------------
 setup.py                   |  2 --
 tox.ini                    |  7 +------
 4 files changed, 52 insertions(+), 33 deletions(-)
 create mode 100644 .github/workflows/test.yml
 delete mode 100644 .travis.yml


hooks/post-receive
-- 
python-stdnum