lists.arthurdejong.org
RSS feed

python-pskc branch master updated. 1.1-15-gdce78b0

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

python-pskc branch master updated. 1.1-15-gdce78b0



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-pskc".

The branch, master has been updated
       via  dce78b0a78bccf00bed611b53e3201f3cf0e7102 (commit)
      from  39eaa716a30a0e7d4d61ef21e20300bebb9ba308 (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-pskc/commit/?id=dce78b0a78bccf00bed611b53e3201f3cf0e7102

commit dce78b0a78bccf00bed611b53e3201f3cf0e7102
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Fri Jul 9 17:18:45 2021 +0200

    Replace Travis with GitHub actions

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..a1e6428
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,72 @@
+---
+
+name: Test
+
+on:
+  push:
+  pull_request:
+  schedule:
+    - cron: '9 0 * * 1'
+
+jobs:
+  base:
+    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, 
pypy-3.7]
+        flavour: [signxml]
+      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: Install development libraries
+        if: "${{ startsWith(matrix.python-version, 'pypy') }}"
+        run: sudo apt-get update && sudo apt-get install -y libxml2-dev 
libxslt-dev
+      - name: Run tox
+        run: tox -e "$(echo py${{ matrix.python-version }}-${{ matrix.flavour 
}} | sed -e 's/[.]//g;s/py-//')" --skip-missing-interpreters false
+  alternatives:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        python-version: [2.7, 3.8]
+        flavour: [legacy, legacy-defusedxml, lxml, lxml-defusedxml]
+      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 }}-${{ matrix.flavour 
}} | sed -e 's/[.]//g;s/py-//')" --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 ddf0d8b..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-language: python
-os: linux
-dist: bionic
-cache: pip
-python:
-  - 2.7
-  - 3.5
-  - 3.6
-  - 3.7
-  - pypy3
-env:
-  - FLAVOUR=signxml
-jobs:
-  include:
-  - python: 2.7
-    env: FLAVOUR=legacy
-  - python: 2.7
-    env: FLAVOUR=legacy-defusedxml
-  - python: 2.7
-    env: FLAVOUR=lxml
-  - python: 2.7
-    env: FLAVOUR=lxml-defusedxml
-  - python: 3.6
-    env: FLAVOUR=legacy
-  - python: 3.6
-    env: FLAVOUR=legacy-defusedxml
-  - python: 3.6
-    env: FLAVOUR=lxml
-  - python: 3.6
-    env: FLAVOUR=lxml-defusedxml
-  - python: 3.6
-    env: TOXENV=flake8
-  - python: 3.6
-    env: TOXENV=docs
-install: pip install tox
-script: tox -e "${TOXENV:-$(echo py${TRAVIS_PYTHON_VERSION}-${FLAVOUR} | tr -d 
. | sed -e 's/pypypy/pypy/')}" --skip-missing-interpreters false

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

Summary of changes:
 .github/workflows/test.yml | 72 ++++++++++++++++++++++++++++++++++++++++++++++
 .travis.yml                | 36 -----------------------
 2 files changed, 72 insertions(+), 36 deletions(-)
 create mode 100644 .github/workflows/test.yml
 delete mode 100644 .travis.yml


hooks/post-receive
-- 
python-pskc