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

Skip to content

Commit a0cf8d1

Browse files
committed
*attempt* to get chmod dance working.
1 parent 1849a35 commit a0cf8d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

circle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ test:
2121
# run test suite in all our python versions
2222
# - bash circle/test.sh
2323

24-
# # test that it imports when you don't have file permissions
25-
# - chmod 000 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
26-
#
27-
# # test that setting permissions will work for import (and tests)
28-
# - chmod 660 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
24+
# test that it imports when you don't have file permissions
25+
- sudo chmod 400 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
26+
27+
# test that setting permissions will work for import (and tests)
28+
- sudo chmod 600 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
2929

3030
# test core things in the general 2.7 version that circle has
3131
- PYENV_VERSION=2.7 && nosetests -xv plotly/tests --with-coverage --cover-package=plotly

0 commit comments

Comments
 (0)