Skip to content

Commit 77e781a

Browse files
authored
Merge pull request #29 from thoughtworksarts/travis-ci
added travisci config and code coverage
2 parents 042589c + 8ceea4a commit 77e781a

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea/
2+
.coverage
23
bin/
34
include/
45
lib/

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: python
2+
python:
3+
- "3.6.3"
4+
cache: pip
5+
install:
6+
- pip install -r requirements.txt
7+
script:
8+
- coverage run --source EmoPy --omit "*test*" EmoPy/tests/run_all.py
9+
- coverage report -m

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
],
2121
python_requires='>=3.6.3',
2222
install_requires=[
23+
'coverage==4.5.3',
2324
'keras>=2.2.0',
2425
'lasagne',
2526
'pytest',

0 commit comments

Comments
 (0)