Browse Source

Merge branch 'master' into extended

test_fixup
Vadiml1024 2 years ago
committed by GitHub
parent
commit
0810f77dcb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 17 deletions
  1. +28
    -0
      .github/workflows/ci.yml
  2. +0
    -17
      .travis.yml

+ 28
- 0
.github/workflows/ci.yml View File

@@ -0,0 +1,28 @@
name: CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
version: [2.7, 3.8]
name: Test
runs-on: ubuntu-latest
steps:
- name: Install host dependencies
run: sudo apt update && sudo apt install -y libarchive-dev python${{ matrix.version }}-dev

- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}

- name: Check out code
uses: actions/checkout@v3

- name: Build the library
env:
PYVER: ${{ matrix.version }}
run: make build

- name: Run tests
run: make test

+ 0
- 17
.travis.yml View File

@@ -1,17 +0,0 @@
language: python
jobs:
include:
- python: "2.7"
env: PYVER=2.7
- python: "3.6"
env: PYVER=3.6
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libarchive-dev
- pyenv shell $(python -c 'import platform; print(platform.python_version())')
install:
- make build
script:
- make test
notifications:
slack: smartfile:tbDIPzVJIPBpSz29kQw6b8RQ

Loading…
Cancel
Save