PyKMIP/.github/workflows/.travis.yml

34 lines
1001 B
YAML
Raw Normal View History

name: ".travis.yml"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
2023-08-01 22:10:35 +02:00
build:
runs-on: ${{ matrix.os }}
env:
TOXENV: ${{ matrix.python-version }}
RUN_INTEGRATION_TESTS: ${{ matrix.test_number }}
2023-08-01 05:18:23 +02:00
steps:
2023-08-01 06:41:10 +02:00
- uses: actions/checkout@v2
2023-08-01 05:18:23 +02:00
- 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
2023-08-01 21:45:29 +02:00
2023-08-01 05:18:23 +02:00
- run: ./.travis/run.sh
- run: codecov
strategy:
matrix:
2023-08-01 22:32:15 +02:00
python-version: ['27', '34', '35', '36', '37', '38' ,'39' ,'310', '311']
2023-08-01 22:10:35 +02:00
test_number: ['0', '1' , '2']
2023-08-01 22:32:15 +02:00
os: [ubuntu-20.04, ubuntu-22.04]
2023-08-01 22:10:35 +02:00