travis: fix env var definitions

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-02-08 08:39:17 +02:00
parent e29eeccf8a
commit 369c86bfde
+7 -5
View File
@@ -7,11 +7,10 @@ sudo: true
dist: xenial
python: "3.7"
env:
- |
PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
PYTHON_CONFIGURE_OPTS="--enable-framework"
GOOGLE_APPLICATION_CREDENTIALS="$TRAVIS_BUILD_DIR/scripts/ci/gcp-creds.json"
global:
- PYENV_ROOT="$HOME/.pyenv"
- PATH="$PYENV_ROOT/bin:$PATH"
- GOOGLE_APPLICATION_CREDENTIALS="$TRAVIS_BUILD_DIR/scripts/ci/gcp-creds.json"
# Travis doesn't support testing python on Mac yet, so we need
# to workaround it by installing it directly with brew.
#
@@ -45,6 +44,7 @@ matrix:
- PYTHON_VER=2.7.10
- CPPFLAGS="-I/usr/local/opt/openssl/include $CPPFLAGS"
- LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
- PYTHON_CONFIGURE_OPTS="--enable-framework"
- if: type = cron OR tag is present
os: osx
osx_image: xcode7.3
@@ -52,6 +52,7 @@ matrix:
rvm: 2.4.0
env:
- PYTHON_VER=3.4.3
- PYTHON_CONFIGURE_OPTS="--enable-framework"
- if: type = cron OR tag is present
os: osx
osx_image: xcode7.3
@@ -59,6 +60,7 @@ matrix:
rvm: 2.4.0
env:
- PYTHON_VER=3.5.0
- PYTHON_CONFIGURE_OPTS="--enable-framework"
before_install:
- bash ./scripts/ci/before_install.sh
- if [[ -n "$PYTHON_VER" ]]; then