From ba632cfc1a046bc845ef189738c68c23fb031765 Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Thu, 29 Oct 2020 11:21:37 +0100 Subject: [PATCH] Travis-CI support added --- .travis.yml | 11 +++++++++++ README.md | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0d46bab --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: python +python: + - "3.6" # current default Python on Travis CI + - "3.7" + - "3.8" +# command to install dependencies +install: + - pip install -r requirements.txt +# command to run tests +script: + - python3 -m unittest discover tests \ No newline at end of file diff --git a/README.md b/README.md index 4afb520..045f4f0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](http://esbo-ds.irs.uni-stuttgart.de:8080/buildStatus/icon?job=ESBO-ETC)](http://esbo-ds.irs.uni-stuttgart.de:8080/job/ESBO-ETC/) +[![Build Status](https://travis-ci.com/LukasK13/ESBO-ETC.svg?branch=master)](https://travis-ci.com/LukasK13/ESBO-ETC) # ESBO-ETC A modular exposure time calculator for the ESBO telescope.