set PYTHON env var to python3
This commit is contained in:
parent
1bc84b837a
commit
6124b1fae8
2 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
language: cpp
|
||||
python: 3.5
|
||||
|
||||
git:
|
||||
depth: 10
|
||||
|
|
|
@ -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/^/ /'
|
||||
|
|
Loading…
Reference in a new issue