From 87bbcaf811e964ce75e37ca2aef7878305cac678 Mon Sep 17 00:00:00 2001 From: Marina Samuel Date: Mon, 5 Feb 2018 15:01:40 -0500 Subject: [PATCH] Add requirements, travis, and coverage files. --- .coveragerc | 3 +++ .travis.yml | 12 ++++++++++++ requirements.txt | 6 ++++++ test_requirements.txt | 8 ++++++++ 4 files changed, 29 insertions(+) create mode 100644 .coveragerc create mode 100644 .travis.yml create mode 100644 requirements.txt create mode 100644 test_requirements.txt diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..d8636b9 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[report] +omit = + */stmoab/dashboard_instances/* \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..283281c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: + - "2.7" +cache: pip +install: + - pip install --upgrade pip setuptools wheel + - pip install --only-binary=numpy,scipy numpy scipy + - pip install -r test_requirements.txt +script: + - make test +after_success: + - coveralls \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a41e88f --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +boto3 == 1.4.4 +scipy == 0.13.3 +statistics == 1.0.3.5 +statsmodels == 0.6.1 +urllib3 == 1.21.1 +redash_client == 0.2.0 diff --git a/test_requirements.txt b/test_requirements.txt new file mode 100644 index 0000000..0819b8d --- /dev/null +++ b/test_requirements.txt @@ -0,0 +1,8 @@ +boto3 == 1.4.4 +coveralls == 1.1 +flake8 == 3.3.0 +mock == 1.3.0 +statistics == 1.0.3.5 +statsmodels == 0.6.1 +urllib3 == 1.21.1 +redash_client == 0.2.0