File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,14 @@ test:
27
27
# run test suite in all our python versions
28
28
- bash circle/test.sh
29
29
30
- # # test that it imports when you don't have file permissions
31
- # - sudo chmod 400 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
32
- #
33
- # # test that setting permissions will work for import (and tests)
34
- # - sudo chmod 600 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
30
+ # test that it imports when you don't have write permissions
31
+ - sudo chmod -R 444 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
32
+
33
+ # test that giving back write permissions works again
34
+ # this also has to pass the test suite that follows
35
+ - sudo chmod -R 777 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
35
36
36
37
# test core things in the general 2.7 version that circle has
37
- - nosetests -xv plotly/tests --with-coverage --cover-package=plotly
38
+ - nosetests -xv plotly/tests/test_core --with-coverage --cover-package=plotly
38
39
- mkdir "${CIRCLE_ARTIFACTS}/2.7" || true
39
40
- coverage html -d "${CIRCLE_ARTIFACTS}/2.7" --title=2.7
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def readme():
34
34
packages = find_packages (),
35
35
data_files = [(GRAPH_REFERENCE_DIR , GRAPH_REFERENCE_FILES ),
36
36
(WIDGETS_DIR , WIDGETS_FILES )],
37
- install_requires = ['requests' , 'six' , 'pytz' ],
37
+ install_requires = ['requests[security] ' , 'six' , 'pytz' ],
38
38
extras_require = {"PY2.6" : ['simplejson' , 'ordereddict' ,
39
39
'requests[security]' ]},
40
40
zip_safe = False )
You can’t perform that action at this time.
0 commit comments