Pillow/depends/diffcover-install.sh
2020-10-29 22:41:29 +11:00

9 lines
363 B
Bash
Executable File

#!/usr/bin/env bash
# Fetch the remote master branch before running diff-cover on Travis CI.
# https://github.com/Bachmann1234/diff-cover#troubleshooting
git fetch origin master:refs/remotes/origin/master
# CFLAGS=-O0 means build with no optimisation.
# Makes build much quicker for lxml and other dependencies.
time CFLAGS=-O0 python3 -m pip install diff_cover