Use pandoc to automatically transform the readme to rst before pushing to PyPI
@@ -13,6 +13,10 @@ branches:
- master
- /^\d+\.\d+\.\d+(-\S*)?$/
+# install pandoc
+before_install:
+ - sudo apt-get install pandoc
+
# command to install dependencies
install:
- pip install tox-travis
@@ -24,6 +28,7 @@ script:
- make build
- docker images
- docker run `make version` --help
+ - pandoc -s README.md -t rst -o README.md
# push images to DockerHub and PyPI on tags
deploy:
