Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1849a35

Browse files
committed
wouldja, circle! k, brute force pyenv version.
1 parent 70fef9d commit 1849a35

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

circle.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
machine:
2-
python:
3-
version: 2.7
42
environment:
53
PLOTLY_PACKAGE_ROOT: /home/ubuntu/python-api
64
PLOTLY_CONFIG_DIR: ${HOME}/.plotly
@@ -13,10 +11,10 @@ dependencies:
1311
# run all the pre-written installers (this will take a *while*)
1412
- bash circle/setup.sh
1513
# install testing tools for circle's version of things
16-
- pip install nose coverage
14+
- PYENV_VERSION=2.7 && pip install nose coverage
1715
override:
18-
- pip install -I .
19-
- cd ~ && python -c "import plotly"
16+
- PYENV_VERSION=2.7 && pip install -I .
17+
- PYENV_VERSION=2.7 && cd ~ && python -c "import plotly"
2018
test:
2119
override:
2220

@@ -30,6 +28,6 @@ test:
3028
# - chmod 660 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
3129

3230
# test core things in the general 2.7 version that circle has
33-
- nosetests -xv plotly/tests --with-coverage --cover-package=plotly
34-
- mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}" || true
35-
- coverage html -d "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}" --title=${PYENV_VERSION}
31+
- PYENV_VERSION=2.7 && nosetests -xv plotly/tests --with-coverage --cover-package=plotly
32+
- mkdir "${CIRCLE_ARTIFACTS}/2.7" || true
33+
- coverage html -d "${CIRCLE_ARTIFACTS}/2.7" --title=2.7

0 commit comments

Comments
 (0)