Skip to content

Commit

Permalink
Cirrus CI: Don't install pygame builddeps when a wheel is available
Browse files Browse the repository at this point in the history
Dirty hack: hardcode that wheels are available except for PyPy and rc versions
of CPython.

I tried looking up that info from PyPI's API, but finding which OS a given wheel
is built for would require parsing the filename...
  • Loading branch information
nbraud committed Mar 28, 2019
1 parent 90eb3a0 commit 55ca284
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ Linux_task:
- image: pypy:3.6-slim

install_script:
- apt update || true
- apt install -qq -y pkgconf libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev libfreetype6-dev gcc
- >-
if command -v pypy3 >/dev/null || python3 -c 'import sys; exit(sys.implementation.version.releaselevel == "final")'; then
apt update || true;
apt install -qq -y pkgconf libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev libfreetype6-dev gcc
fi
- pip install --upgrade-strategy eager -U pytest
- pip install -e .

Expand Down

0 comments on commit 55ca284

Please sign in to comment.