Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ae53ae

Browse files
committed
Replace Travis CI with GitHub Actions
1 parent 554df74 commit 8ae53ae

3 files changed

Lines changed: 36 additions & 20 deletions

File tree

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest]
15+
python: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
16+
include:
17+
- os: ubuntu-latest
18+
python: 3.6
19+
- os: ubuntu-latest
20+
python: 3.7
21+
- os: ubuntu-latest
22+
python: 3.8
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Setup Python
27+
uses: actions/setup-python@v2
28+
with:
29+
python-version: ${{ matrix.python }}
30+
- name: Display the Python version
31+
run: python -VV
32+
- name: Run tests
33+
run: python runtests.py --current --verbose

.travis.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Python C API compatibility
33
++++++++++++++++++++++++++
44

5-
.. image:: https://travis-ci.com/pythoncapi/pythoncapi_compat.svg?branch=master
6-
:alt: Build status of pyperf on Travis CI
7-
:target: https://travis-ci.com/github/pythoncapi/pythoncapi_compat
5+
.. image:: https://github.com/pythoncapi/pythoncapi_compat/actions/workflows/build.yml/badge.svg
6+
:alt: Build status of pythoncapi_compat on GitHub Actions
7+
:target: https://github.com/pythoncapi/pythoncapi_compat/actions
88

99
The Python C API compatibility project is made of two parts:
1010

0 commit comments

Comments
 (0)