set PYTHON env var to python3

This commit is contained in:
Artem Pavlenko 2021-03-05 11:04:07 +00:00
parent 1bc84b837a
commit 6124b1fae8
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,4 @@
language: cpp
python: 3.5
git:
depth: 10

View file

@ -77,11 +77,11 @@ config_override () {
configure () {
if enabled ${COVERAGE}; then
./configure "PREFIX=$PREFIX" "CUSTOM_LDFLAGS=$LINKFLAGS" "$@" \
PYTHON=python3 ./configure "PREFIX=$PREFIX" "CUSTOM_LDFLAGS=$LINKFLAGS" "$@" \
COVERAGE=True DEBUG=True \
PGSQL2SQLITE=False SVG2PNG=False SVG_RENDERER=False
else
./configure "PREFIX=$PREFIX" "CUSTOM_LDFLAGS=$LINKFLAGS" "$@"
PYTHON=python3 ./configure "PREFIX=$PREFIX" "CUSTOM_LDFLAGS=$LINKFLAGS" "$@"
fi
# print final config values, sorted and indented
sort -sk1,1 ./config.py | sed -e 's/^/ /'