Skip to content

Commit 4724400

Browse files
author
Sylvain MARIE
committed
fixed python 2 build
1 parent a8073a1 commit 4724400

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ install:
3434
# needs to be installed beforehand
3535
- pip install setuptools_scm
3636
- python ci_tools/py_install.py pip ci_tools/requirements-pip.txt
37+
# this does not work anymore on python 2 so lets only do it when needed
38+
- if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then pip install mkdocs-material mkdocs; fi;
3739
# travis-specific installs
3840
- pip install PyGithub # for ci_tools/github_release.py
3941
- pip install codecov # See https://github.com/codecov/example-python.
@@ -79,6 +81,8 @@ after_success:
7981
else
8082
echo "File 'ci_tools/github_travis_rsa' has not been created, please check your encrypted repo token in .travis.yml, on the line starting with 'openssl aes-256-cbc...'"
8183
fi
84+
# -- create the _version.py file
85+
# - python ci_tools/write_version.py ./yamlable
8286

8387
deploy:
8488
# Deploy on PyPI on tags

ci_tools/requirements-pip.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ pytest-html==1.9.0 # otherwise requires pytest 5
1515
xunitparser
1616

1717
# --- to generate the doc (see .travis)
18-
mkdocs-material #==3.3.0
19-
mkdocs # ==1.0.4 # this is to prevent a version non-compliant with mkdocs-material to be installed.
18+
# mkdocs-material #==3.3.0
19+
# mkdocs # ==1.0.4 # this is to prevent a version non-compliant with mkdocs-material to be installed.

0 commit comments

Comments
 (0)