Pillow/depends/diffcover-install.sh

9 lines
363 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Fetch the remote master branch before running diff-cover on Travis CI.
2015-09-26 12:45:39 +03:00
# 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.
2020-10-29 14:41:29 +03:00
time CFLAGS=-O0 python3 -m pip install diff_cover