Skip to content

Commit

Permalink
Modified Travis config: do not run map.py for pull requests; use read…
Browse files Browse the repository at this point in the history
…thedocs pdf build
  • Loading branch information
WeixuanZ committed Mar 27, 2020
1 parent ed928d4 commit 9cd83d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Expand Up @@ -3,7 +3,7 @@
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 1
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -20,7 +20,7 @@ script:
- python tasks/Task1B.py
- python tasks/Task1C.py
- python tasks/Task1D.py
- python Map.py
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then python Map.py; fi'
- python tasks/Task1E.py
- python tasks/Task1F.py

Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,11 +1,11 @@
# Flood Warning System

The documentation can be found at https://flood-warning-system.readthedocs.io,
the PDF version is available [here](/docs/flood-warning-system.pdf).
the PDF version is available [here](https://flood-warning-system.readthedocs.io/_/downloads/en/latest/pdf/).

![License](https://img.shields.io/github/license/WeixuanZ/flood-warning-system)
[![Documentation Status](https://readthedocs.org/projects/flood-warning-system/badge/?version=latest)](https://flood-warning-system.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.com/WeixuanZ/flood-warning-system.svg?token=SUjKzzvXHwxxw8h3x2sj&branch=master)](https://travis-ci.com/WeixuanZ/flood-warning-system)
[![Build Status](https://travis-ci.com/WeixuanZ/flood-warning-system.svg?branch=master)](https://travis-ci.com/WeixuanZ/flood-warning-system)
[![DeepSource](https://static.deepsource.io/deepsource-badge-light-mini.svg)](https://deepsource.io/gh/WeixuanZ/flood-warning-system/?ref=repository-badge)


Expand Down
Binary file removed docs/flood-warning-system.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/source/index.rst
Expand Up @@ -29,7 +29,7 @@ Indices and tables
.. |DocumentationStatus| image:: https://readthedocs.org/projects/flood-warning-system/badge/?version=latest
:target: https://flood-warning-system.readthedocs.io/en/latest/?badge=latest

.. |BuildStatus| image:: https://travis-ci.com/WeixuanZ/flood-warning-system.svg?token=SUjKzzvXHwxxw8h3x2sj&branch=master
.. |BuildStatus| image:: https://travis-ci.com/WeixuanZ/flood-warning-system.svg?branch=master
:target: https://travis-ci.com/WeixuanZ/flood-warning-system

.. |DeepSource| image:: https://static.deepsource.io/deepsource-badge-light-mini.svg
Expand Down

0 comments on commit 9cd83d2

Please sign in to comment.