Skip to content

Commit 256311a

Browse files
committed
Recursively chmod the plotly dir.
1 parent e1af130 commit 256311a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

circle.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ test:
2828
- bash circle/test.sh
2929

3030
# test that it imports when you don't have write permissions
31-
- sudo chmod 444 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
31+
- sudo chmod -R 444 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
3232

3333
# test that giving back write permissions works again
34-
- sudo chmod 666 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
34+
# this also has to pass the test suite that follows
35+
- sudo chmod -R 666 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
3536

3637
# test core things in the general 2.7 version that circle has
3738
- nosetests -xv plotly/tests/test_core --with-coverage --cover-package=plotly

0 commit comments

Comments
 (0)