-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
feb143d
commit 690a656
Showing
2 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters