diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..657500b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: python +python: + - "3.6" + - "3.7-dev" # 3.7 development branch +# command to install dependencies +install: + - pip install -r requirements.txt + - pip install -e . +# command to run tests +script: + - pytest diff --git a/README.rst b/README.rst index 776a3ae..1cf9ca9 100644 --- a/README.rst +++ b/README.rst @@ -4,6 +4,9 @@ A tool to create character sheets for Dungeons and Dragons. +.. image:: https://travis-ci.com/canismarko/dungeon-sheets.svg?branch=master + :target: https://travis-ci.com/canismarko/dungeon-sheets + Installation ============ diff --git a/requirements.txt b/requirements.txt index 602b76d..09dbe45 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ certifi>=2018.1.18 fdfgen>=0.16 npyscreen jinja2 +pytest