2023-08-01 04:38:21 +02:00
|
|
|
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
|
2023-08-01 04:38:21 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-08-01 22:10:35 +02:00
|
|
|
python-version: ['27', '34', '35', '36', '37']
|
|
|
|
test_number: ['0', '1' , '2']
|
|
|
|
os: [ubuntu-12.04, ubuntu-14.04, ubuntu-16.04]
|
|
|
|
|
|
|
|
|