From 1abd79e54d205f13fb759683caaf214e9cc88f24 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 12 May 2021 19:52:22 +0200 Subject: [PATCH] Move from travis to github actions. --- .github/workflows/tests.yml | 38 ++++++++++++++++++++++++++++ .travis.yml | 49 ------------------------------------- 2 files changed, 38 insertions(+), 49 deletions(-) create mode 100644 .github/workflows/tests.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..1ae1810 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,38 @@ +name: Tests + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build_ubuntu: + strategy: + matrix: + python: + - '3.6' + - '3.7' + - '3.8' + - '3.9' + name: ${{ matrix.python }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: setup + run: | + python --version + python -m pip install --upgrade pip + python -m pip install --upgrade flit + - name: install + run: | + cd blurb + flit install + - name: test + run: | + blurb test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 50b8016..0000000 --- a/.travis.yml +++ /dev/null @@ -1,49 +0,0 @@ -conditions: v1 - -git: - depth: false - -language: python - -dist: trusty -cache: pip - -before_install: -- pip install --upgrade pip flit - -.mixtures: -- &run-if-tagged - if: tag IS present -- &run-if-blurb - if: tag =~ ^blurb\-v\d+\.\d+\.\d+$ -- &run-if-blurb-or-untagged - if: tag IS NOT present OR tag =~ ^blurb\-v\d+\.\d+\.\d+$ -- &base-3_7 - dist: xenial - python: "3.7" -- &install-and-test-blurb - <<: *run-if-blurb-or-untagged - env: - TARGET_PKG: blurb - install: - - &cd-to-project pushd "$TARGET_PKG" - - flit install - - popd - script: - - blurb test - -jobs: - include: - - python: "3.5" - <<: *install-and-test-blurb - - python: "3.6" - <<: *install-and-test-blurb - - python: "3.7" - <<: *base-3_7 - <<: *install-and-test-blurb - - python: "nightly" # currently, it's 3.8-dev - <<: *install-and-test-blurb - - <<: *run-if-blurb - if: 1 != 1 - env: - TARGET_PKG: blurb pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy