mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-07-24 22:44:36 +02:00
Added converted git action version of travis.yml
This commit is contained in:
parent
4c65eb8326
commit
142ee4f0d0
628
.github/workflows/.travis.yml
vendored
Normal file
628
.github/workflows/.travis.yml
vendored
Normal file
@ -0,0 +1,628 @@
|
||||
name: ".travis.yml"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build-1:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=0
|
||||
build-2:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=0
|
||||
build-3:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=0
|
||||
build-4:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=1
|
||||
build-5:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=1
|
||||
build-6:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=1
|
||||
build-7:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=2
|
||||
build-8:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=2
|
||||
build-9:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py27 RUN_INTEGRATION_TESTS=2
|
||||
build-10:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=0
|
||||
build-11:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=0
|
||||
build-12:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=0
|
||||
build-13:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=1
|
||||
build-14:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=1
|
||||
build-15:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=1
|
||||
build-16:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=2
|
||||
build-17:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=2
|
||||
build-18:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.4'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py34 RUN_INTEGRATION_TESTS=2
|
||||
build-19:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=0
|
||||
build-20:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=0
|
||||
build-21:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=0
|
||||
build-22:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=1
|
||||
build-23:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=1
|
||||
build-24:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=1
|
||||
build-25:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=2
|
||||
build-26:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=2
|
||||
build-27:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.5'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py35 RUN_INTEGRATION_TESTS=2
|
||||
build-28:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=0
|
||||
build-29:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=0
|
||||
build-30:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=0
|
||||
build-31:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
||||
build-32:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
||||
build-33:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
||||
build-34:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=2
|
||||
build-35:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trusty
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=2
|
||||
build-36:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.6'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=2
|
||||
# python: 3.7
|
||||
# os: linux
|
||||
# dist:
|
||||
# - precise
|
||||
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=0
|
||||
# python: 3.7
|
||||
# os: linux
|
||||
# dist:
|
||||
# - trusty
|
||||
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=0
|
||||
build-37:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py37 RUN_INTEGRATION_TESTS=0
|
||||
# python: 3.7
|
||||
# os: linux
|
||||
# dist: precise
|
||||
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=1
|
||||
# python: 3.7
|
||||
# os: linux
|
||||
# dist:
|
||||
# - trusty
|
||||
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=1
|
||||
build-38:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
||||
# python: 3.7
|
||||
# os: linux
|
||||
# dist: precise
|
||||
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=2
|
||||
# python: 3.7
|
||||
# os: linux
|
||||
# dist: trusty
|
||||
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=2
|
||||
build-39:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=py37 RUN_INTEGRATION_TESTS=2
|
||||
build-40:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=pep8 RUN_INTEGRATION_TESTS=0
|
||||
build-41:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trust
|
||||
env:
|
||||
- TOXENV=pep8 RUN_INTEGRATION_TESTS=0
|
||||
build-42:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=pep8 RUN_INTEGRATION_TESTS=0
|
||||
build-43:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=bandit RUN_INTEGRATION_TESTS=0
|
||||
build-44:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trust
|
||||
env:
|
||||
- TOXENV=bandit RUN_INTEGRATION_TESTS=0
|
||||
build-45:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=bandit RUN_INTEGRATION_TESTS=0
|
||||
build-46:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- precise
|
||||
env:
|
||||
- TOXENV=docs RUN_INTEGRATION_TESTS=0
|
||||
build-47:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- trust
|
||||
env:
|
||||
- TOXENV=docs RUN_INTEGRATION_TESTS=0
|
||||
build-48:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '2.7'
|
||||
os:
|
||||
- linux
|
||||
dist:
|
||||
- xenial
|
||||
env:
|
||||
- TOXENV=docs RUN_INTEGRATION_TESTS=0
|
||||
steps:
|
||||
- run: pip uninstall -y six
|
||||
- run: pip install six>=1.11.0
|
||||
- run: pip install "more_itertools<=7.2.0"
|
||||
- run: pip install "tox<=3.14.1"
|
||||
- run: pip install "PyYAML<=5.2"
|
||||
- run: pip install bandit
|
||||
- run: pip install codecov
|
||||
- run: pip install slugs
|
||||
- run: python setup.py install
|
||||
- run: ./.travis/run.sh
|
||||
- run: codecov
|
||||
# if [ -f "/tmp/pykmip/server.log" ]; then cat /tmp/pykmip/server.log; fi
|
||||
# if [ -f "/tmp/slugs/access.log" ]; then cat /tmp/slugs/access.log; fi
|
||||
# if [ -f "/tmp/slugs/error.log" ]; then cat /tmp/slugs/error.log; fi
|
||||
|
2
.github/workflows/run_travis.yml
vendored
2
.github/workflows/run_travis.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
- name: Run .travis.yml build script
|
||||
uses: ktomk/run-travis-yml@v1.8.1
|
||||
with:
|
||||
file: ../../.travis.yml
|
||||
file: .travis.yml
|
||||
steps: |
|
||||
install
|
||||
script
|
||||
|
Loading…
x
Reference in New Issue
Block a user