Skip to content

Commit

Permalink
Merge #247
Browse files Browse the repository at this point in the history
247: Revert "Merge #225" r=pathunstrom a=astronouth7303

This rolls back the use of CI dockerfiles, so that cirrus brokenness no longer blocks other PRs.

This is not a rejection of #240.

Co-authored-by: Jamie Bliss <jamie@ivyleav.es>
  • Loading branch information
bors[bot] and AstraLuma committed May 5, 2019
2 parents db3bfaa + 19e2ba2 commit 11f7286
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 182 deletions.
38 changes: 0 additions & 38 deletions .ci/dockerfiles/.common.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .ci/dockerfiles/docs

This file was deleted.

57 changes: 0 additions & 57 deletions .ci/dockerfiles/generate.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .ci/dockerfiles/pypy_3.6-slim

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/dockerfiles/python_3.6-slim

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/dockerfiles/python_3.6-windowsservercore-1809

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/dockerfiles/python_3.7-slim

This file was deleted.

8 changes: 0 additions & 8 deletions .ci/dockerfiles/python_3.7-windowsservercore-1809

This file was deleted.

10 changes: 0 additions & 10 deletions .ci/dockerfiles/python_3.8-rc-slim

This file was deleted.

48 changes: 28 additions & 20 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
dockerfiles_task:
skip: $CIRRUS_BRANCH =~ '.*\.tmp'
container:
image: ellerbrock/alpine-bash-git

script:
- ./.ci/dockerfiles/generate.sh
- git diff --exit-code


docs_task:
skip: $CIRRUS_BRANCH =~ '.*\.tmp'
container:
dockerfile: .ci/dockerfiles/docs
image: python:3.7-slim

install_script:
- apt update || true ; apt install -qq -y make
- pip install --upgrade-strategy eager -U -r requirements-docs.txt
- pip install .

install_script: pip install -e .
script: make -C docs/ html
script:
- make -C docs/ html


Linux_task:
skip: $CIRRUS_BRANCH =~ '.*\.tmp'
allow_failures: $CIRRUS_TASK_NAME =~ '.*-rc-.*'
container:
matrix:
- dockerfile: .ci/dockerfiles/python_3.6-slim
- dockerfile: .ci/dockerfiles/python_3.7-slim
- dockerfile: .ci/dockerfiles/python_3.8-rc-slim
- dockerfile: .ci/dockerfiles/pypy_3.6-slim
- image: python:3.6-slim
- image: python:3.7-slim
- image: python:3.8-rc-slim
- image: pypy:3.6-slim

install_script:
- >-
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 -r requirements-tests.txt
- pip install .

script:
- command -v pypy3 >/dev/null && export PY=pypy3
Expand All @@ -51,7 +55,7 @@ macOS_task:
- pyenv global ${PYTHON}
- pyenv rehash
- pip install --upgrade-strategy eager -U -r requirements-tests.txt
- pip install -e .
- pip install .

script:
- python3 --version
Expand All @@ -64,8 +68,12 @@ Windows_task:
windows_container:
os_version: 2019
matrix:
- dockerfile: .ci/dockerfiles/python_3.6-windowsservercore-1809
- dockerfile: .ci/dockerfiles/python_3.7-windowsservercore-1809
- image: python:3.6-windowsservercore-1809
- image: python:3.7-windowsservercore-1809

install_script:
- C:\Python\python.exe -m pip install --upgrade-strategy eager -U -r requirements-tests.txt
- C:\Python\python.exe -m pip install .

script:
- C:\Python\python.exe --version
Expand Down
9 changes: 4 additions & 5 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
status = [
"dockerfiles",
"docs",
"Linux Dockerfile:.ci/dockerfiles/python_3.6-slim",
"Linux Dockerfile:.ci/dockerfiles/python_3.7-slim",
"Windows Dockerfile:.ci/dockerfiles/python_3.6-windowsservercore-1809",
"Windows Dockerfile:.ci/dockerfiles/python_3.7-windowsservercore-1809",
"Linux container:python:3.6-slim",
"Linux container:python:3.7-slim",
"Windows container:python:3.6-windowsservercore-1809",
"Windows container:python:3.7-windowsservercore-1809",
"macOS PYTHON:3.6.8",
"macOS PYTHON:3.7.2",
]
Expand Down

0 comments on commit 11f7286

Please sign in to comment.