Skip to content

Commit

Permalink
Upgraded travis build environments.
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 1bf6613
Author: E. McConville <[email protected]>
Date:   Tue Jan 3 12:54:19 2023 -0600

    Exclude pypy3 from arm64

commit be29efb
Author: E. McConville <[email protected]>
Date:   Tue Jan 3 12:42:02 2023 -0600

    Install imagemagick for arm64

commit 5f6277e
Author: E. McConville <[email protected]>
Date:   Tue Jan 3 11:49:59 2023 -0600

    Replace ppc64le with arm64

commit ced1628
Author: E. McConville <[email protected]>
Date:   Tue Jan 3 06:53:47 2023 -0600

    Upgraded build environment to Jammy 22.04

commit 7d5eb67
Author: E. McConville <[email protected]>
Date:   Mon Jan 2 09:10:22 2023 -0600

    Rework TravisCI scripts
  • Loading branch information
emcconville committed Jan 3, 2023
1 parent feb143d commit 690a656
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
28 changes: 16 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,47 @@
dist: bionic
dist: jammy
language: python
sudo: false
arch:
- amd64
- ppc64le
- arm64
- s390x
git:
depth: 1
python:
- 3.9
- 3.10
- pypy3
# Disable version pypy3 for ppc64le
jobs:
exclude:
- arch: ppc64le
python: pypy3
- arch: s390x
python: pypy3
- arch: arm64
python: pypy3
env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
before_install:
- >
if [[ "$TRAVIS_CPU_ARCH" == "ppc64le" || "$TRAVIS_CPU_ARCH" == "s390x" ]]; then
if [[ "$TRAVIS_CPU_ARCH" == "arm64" || "$TRAVIS_CPU_ARCH" == "s390x" ]]; then
sudo apt-get update;
sudo apt-get -y install libmagickwand-dev;
fi
fi
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
pypy3 -m ensurepip
fi
install:
- echo $TRAVIS_PYTHON_VERSION
- pip install -U pytest pytest-xdist pytest-forked
- >
if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then
pip install 'pytest-cov>=1.8.0';
if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
pypy3 -m pip install -U pytest pytest-xdist pytest-forked
else
pip install -U pytest pytest-xdist pytest-forked pytest-cov
fi
- pip install -e .[test] --upgrade
script:
- python -mwand.version --verbose
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
pytest --skip-pdf --forked --durations=20;
pypy3 -m pytest --skip-pdf --forked --durations=20;
else
pytest --skip-pdf --cov wand --forked --durations=20;
fi
4 changes: 3 additions & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Unreleased.
- Added ``filter`` parameter to :meth:`Image.distort() <wand.image.BaseImage.distort>` method.
- [TEST] Added Python 3.11 to regression tests for `github actions <https://github.com/emcconville/wand/actions>`_.
- [TEST] Replaced :mod:`py.path` fixtures with :mod:`pythlib`. [:pull:`607` & :issue:`608` by Louis Sautier]
- [TEST] Retire Python2 support from regression testing.
- [TEST] Retired Python2 support from regression testing.
- [TEST] Upgraded `Travis CI <https://travis-ci.org/github/emcconville/wand>` build environments.


.. _changelog-0.6.10:

Expand Down

0 comments on commit 690a656

Please sign in to comment.