File tree 2 files changed +8
-7
lines changed
Filter options
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 @@ -41,7 +41,7 @@ def readme():
41
41
'plotly/matplotlylib/mplexporter' ,
42
42
'plotly/matplotlylib/mplexporter/renderers' ],
43
43
package_data = {'plotly' : ['graph_reference/*.json' , 'widgets/*.js' ]},
44
- install_requires = ['requests' , 'six' , 'pytz' ],
44
+ install_requires = ['requests[security] ' , 'six' , 'pytz' ],
45
45
extras_require = {"PY2.6" : ['simplejson' , 'ordereddict' ,
46
46
'requests[security]' ]},
47
47
zip_safe = False )
You can’t perform that action at this time.
0 commit comments