Skip to content

Commit f25a603

Browse files
committed
Revert "Use pyenv global to set version."
This reverts commit dacf4c3.
1 parent 087ee62 commit f25a603

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

circle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ dependencies:
1111
# run all the pre-written installers (this will take a *while*)
1212
- bash circle/setup.sh
1313
# install testing tools for circle's version of things
14-
- pyenv global 2.7 && pip install nose coverage
14+
- PYENV_VERSION=2.7 && pip install nose coverage
1515
override:
16-
- pyenv global 2.7 && pip install -I .
17-
- pyenv global 2.7 && cd ~ && python -c "import plotly"
16+
- PYENV_VERSION=2.7 && pip install -I .
17+
- PYENV_VERSION=2.7 && cd ~ && python -c "import plotly"
1818
test:
1919
override:
2020

@@ -28,6 +28,6 @@ test:
2828
# - sudo chmod 600 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
2929

3030
# test core things in the general 2.7 version that circle has
31-
- pyenv global 2.7 && nosetests -xv plotly/tests --with-coverage --cover-package=plotly
31+
- PYENV_VERSION=2.7 && nosetests -xv plotly/tests --with-coverage --cover-package=plotly
3232
- mkdir "${CIRCLE_ARTIFACTS}/2.7" || true
3333
- coverage html -d "${CIRCLE_ARTIFACTS}/2.7" --title=2.7

circle/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
1717
echo Setting up Python ${version}
1818

1919
# exporting this variable (in this scope) chooses the python version
20-
pyenv global ${version}
20+
export PYENV_VERSION=${version}
2121
echo "Using pyenv version $(pyenv version)"
2222

2323
# install core requirements all versions need

circle/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
1717
echo Testing Python ${version}
1818

1919
# exporting this variable (in this scope) chooses the python version
20-
pyenv global ${version}
20+
export PYENV_VERSION=${version}
2121
echo "Using pyenv version $(pyenv version)"
2222

2323
echo "python -c 'import sys; print(sys.version_info)' yields:"

0 commit comments

Comments
 (0)