Skip to content

Commit

Permalink
Merge pull request #551 from bwoodsend/bye-bye-travis
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 18, 2022
2 parents 63cbc07 + 3efb5cc commit abe26fc
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 29 deletions.
30 changes: 29 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,36 @@ jobs:
./scripts/coverage.sh
bash <(curl -s https://codecov.io/bash) -X gcov
cross-arch:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
architecture: [ppc64le, s390x, aarch64, arm/v6, 386]
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow

# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Test
run: |
docker run -v "$PWD:/io" --platform=linux/${{ matrix.architecture }} python:alpine ash -e -c '
apk add gcc g++ musl-dev git
cd /io
git config --global --add safe.directory /io
pip install . pytest
FORCE_COLOR=1 pytest
'
success:
needs: test
needs: [test, cross-arch]
runs-on: ubuntu-latest
name: test successful
steps:
Expand Down
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[![Supported Python versions](https://img.shields.io/pypi/pyversions/ujson.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/ujson)
[![PyPI downloads](https://img.shields.io/pypi/dm/ujson.svg)](https://pypistats.org/packages/ujson)
[![GitHub Actions status](https://github.com/ultrajson/ultrajson/workflows/Test/badge.svg)](https://github.com/ultrajson/ultrajson/actions)
[![Travis CI status](https://travis-ci.com/ultrajson/ultrajson.svg?branch=main)](https://app.travis-ci.com/github/ultrajson/ultrajson)
[![codecov](https://codecov.io/gh/ultrajson/ultrajson/branch/main/graph/badge.svg)](https://codecov.io/gh/ultrajson/ultrajson)
[![DOI](https://zenodo.org/badge/1418941.svg)](https://zenodo.org/badge/latestdoi/1418941)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)
Expand Down
4 changes: 1 addition & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Release Checklist

- [ ] Get `main` to the appropriate code release state.
[GitHub Actions](https://github.com/ultrajson/ultrajson/actions) and
[Travis CI](https://app.travis-ci.com/github/ultrajson/ultrajson) should be running
[GitHub Actions](https://github.com/ultrajson/ultrajson/actions) should be running
cleanly for all merges to `main`.
[![GitHub Actions status](https://github.com/ultrajson/ultrajson/workflows/Test/badge.svg)](https://github.com/ultrajson/ultrajson/actions)
[![Build Status](https://app.travis-ci.com/ultrajson/ultrajson.svg?branch=main)](https://app.travis-ci.com/ultrajson/ultrajson)

- [ ] Edit release draft, adjust text if needed: https://github.com/ultrajson/ultrajson/releases

Expand Down

0 comments on commit abe26fc

Please sign in to comment.