diff --git a/.appveyor.yml b/.appveyor.yml index f299794b6..09951f0f8 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -34,9 +34,15 @@ environment: EXECUTABLE: bin/pypy.exe PIP_DIR: bin VENV: YES + - PYTHON: C:\Python38rc1-x64 install: +- ps: | + if ($env:PYTHON -eq "C:\Python38rc1-x64") { + curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/d0cf77e62028704875073e3dc4626f61d1c33b0e/install_python.ps1 + .\install_python.ps1 + } - curl -fsSL -o pillow-depends.zip https://github.com/python-pillow/pillow-depends/archive/master.zip - 7z x pillow-depends.zip -oc:\ - mv c:\pillow-depends-master c:\pillow-depends diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml new file mode 100644 index 000000000..09beb2fdd --- /dev/null +++ b/.github/workflows/test-docker.yml @@ -0,0 +1,40 @@ +name: Test Docker + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + docker: [ + alpine, + arch, + ubuntu-16.04-xenial-amd64, + ubuntu-18.04-bionic-amd64, + debian-9-stretch-x86, + debian-10-buster-x86, + centos-6-amd64, + centos-7-amd64, + amazon-1-amd64, + amazon-2-amd64, + fedora-29-amd64, + fedora-30-amd64, + ] + dockerTag: [master] + + name: ${{ matrix.docker }} + + steps: + - uses: actions/checkout@v1 + + - name: Docker pull + run: | + docker pull pythonpillow/${{ matrix.docker }}:${{ matrix.dockerTag }} + + - name: Docker build + run: | + # The Pillow user in the docker container is UID 1000 + sudo chown -R 1000 $GITHUB_WORKSPACE + docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/${{ matrix.docker }}:${{ matrix.dockerTag }} diff --git a/README.rst b/README.rst index 6b783a95a..e35091bae 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ Pillow is the friendly PIL fork by `Alex Clark and Contributors