Browse Source

Updated Makefile and travis.yml

tags/0.1
Johann Schmitz 4 years ago
parent
commit
f92b9425c3
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      .travis.yml
  2. +3
    -3
      Makefile

+ 1
- 1
.travis.yml View File

@@ -11,7 +11,7 @@ install:
- pip install -r requirements.txt
- pip install coveralls

script: make travis coverage
script: make travis

after_success:
- coveralls

+ 3
- 3
Makefile View File

@@ -19,11 +19,11 @@ compile:

compile_optimized:
@echo Compiling python code optimized
python -m compileall src/

travis: compile compile_optimized test_default_python
python -O -m compileall src/

coverage:
coverage erase
PYTHONPATH=".:./src" coverage run --source='src' --omit='src/test.py,src/fakecube.py' --branch tests/__main__.py
coverage report -m

travis: compile compile_optimized test_default_python coverage

Loading…
Cancel
Save