From 3217c9542d693f3eed1d1bfdd997e7c96f76a9cb Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Mon, 20 Mar 2017 19:53:27 +0100 Subject: [PATCH] fixing hopefully --- .gitlab-ci.yml | 5 +++-- tests/__init__.py | 7 ------- your_project_source/erer.py | 11 ----------- 3 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 your_project_source/erer.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3851b9d..bfc356c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,13 +12,14 @@ unit_tests: stage: test coverage: /^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$/ script: - - nosetests --with-coverage + - python setup.py nosetests # vagrant_backed_tests # stage: test +# coverage: /^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$/ # script: # - vagrant ssh -c 'sudo shutdown -P +10' -# - vagrant ssh -c 'cd /vagrant; nosetests --with-coverage' +# - vagrant ssh -c 'cd /vagrant; python setup.py nosetests' # before_script: # - vagrant up # after_script: diff --git a/tests/__init__.py b/tests/__init__.py index 459364d..9599562 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,8 +1 @@ # coding=UTF-8 - - -import unittest -class TestX(unittest.TestCase): - def test_wtf(self): - import your_project_source.erer - pass \ No newline at end of file diff --git a/your_project_source/erer.py b/your_project_source/erer.py deleted file mode 100644 index d37f793..0000000 --- a/your_project_source/erer.py +++ /dev/null @@ -1,11 +0,0 @@ -# coding=UTF-8 -""" -It sounds like a melody -""" -from __future__ import print_function, absolute_import, division -import six -import logging - -logger = logging.getLogger(__name__) - - -- GitLab