Skip to content

Commit 5880f59

Browse files
author
Sylvain MARIE
committed
Fixed travis build
1 parent 6c513f5 commit 5880f59

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ install:
7474
- conda list
7575
- python ci_tools/py_install.py conda ci_tools/requirements-conda.txt
7676
- python ci_tools/py_install.py pip ci_tools/requirements-pip.txt
77+
# this does not work anymore on python 2 so lets only do it when needed
78+
- if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then pip install mkdocs-material mkdocs; fi;
7779
# travis-specific installs
7880
- pip install PyGithub # for ci_tools/github_release.py
7981
- pip install codecov # See https://github.com/codecov/example-python.

ci_tools/requirements-pip.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ pytest-harvest
2323
coverage
2424

2525
# --- to generate the doc (see .travis)
26-
mkdocs-material # ==2.7.3
27-
mkdocs # ==0.17.3 # this is to prevent a version non-compliant with mkdocs-material to be installed.
26+
# does not work on python 2 anymore
27+
#mkdocs-material # ==2.7.3
28+
#mkdocs # ==0.17.3 # this is to prevent a version non-compliant with mkdocs-material to be installed.

0 commit comments

Comments
 (0)