diff options
author | Bert JW Regeer <bertjw@regeer.org> | 2020-02-02 23:28:40 -0800 |
---|---|---|
committer | Bert JW Regeer <bertjw@regeer.org> | 2020-04-16 22:54:30 -0700 |
commit | a48e996f0cdbd4530bfbe9e410f06bb7f4a1ba28 (patch) | |
tree | ff654c574c77aef185207b3f94038903b28a4e7c | |
parent | 85c100ff2f580b4eecb1509bed4e6753827ff29e (diff) | |
download | waitress-a48e996f0cdbd4530bfbe9e410f06bb7f4a1ba28.tar.gz |
Update CI to add lint checks
-rw-r--r-- | .github/workflows/ci-linux.yml | 18 | ||||
-rw-r--r-- | .travis.yml | 10 |
2 files changed, 23 insertions, 5 deletions
diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index cc5639a..1a8897f 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -40,10 +40,10 @@ jobs: - name: Setup python uses: actions/setup-python@v1 with: - python-version: 3.5 + python-version: 3.8 architecture: x64 - run: pip install tox - - run: tox -e py35-cover,py27-cover,coverage + - run: tox -e py38,py27,coverage docs: runs-on: ubuntu-latest name: Build the documentation @@ -52,7 +52,19 @@ jobs: - name: Setup python uses: actions/setup-python@v1 with: - python-version: 3.5 + python-version: 3.8 architecture: x64 - run: pip install tox - run: tox -e docs + lint: + runs-on: ubuntu-latest + name: Lint the package + steps: + - uses: actions/checkout@master + - name: Setup python + uses: actions/setup-python@v1 + with: + python-version: 3.8 + architecture: x64 + - run: pip install tox + - run: tox -e lint diff --git a/.travis.yml b/.travis.yml index 4bb2567..464fd86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,8 +22,14 @@ matrix: env: TOXENV=pypy - python: pypy3 env: TOXENV=pypy3 - - python: 3.5 - env: TOXENV=py27-cover,py35-cover,coverage + - python: 3.8 + env: TOXENV=py27,py38,coverage + dist: xenial + sudo: true + - python: 3.8 + env: TOXENV=lint + dist: xenial + sudo: true - python: 3.5 env: TOXENV=docs |