From 0485e591d66c5187190cf16eb1b5699a766471c0 Mon Sep 17 00:00:00 2001 From: Jason Alan Fries Date: Mon, 22 Mar 2021 01:58:41 -0700 Subject: [PATCH] adds travis and readthedocs preliminary run scripts --- .readthedocs.yml | 21 +++++++++++++++++++++ .travis.yml | 15 +++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .readthedocs.yml create mode 100644 .travis.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..666cbab --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,21 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/source/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: all + +# Optionally set the version of Python and requirements required to build your docs +python: + version: 3.8 + install: + - requirements: requirements-dev.txt + - method: pip + path: . + system_packages: true \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c5d4049 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: python + +python: + - "3.8" + +# command to install dependencies +install: + - pip install -r requirements.txt + +script: + - pytest test + +notifications: + email: + - jason-fries@stanford.edu