Skip to content

Commit a800fe0

Browse files
committed
remove python2.6 test and adding unit code coverage repport
1 parent 9f86de6 commit a800fe0

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ python:
99
- 3.4
1010
- 3.3
1111
- 2.7
12-
- 2.6
1312
before_install:
1413
- pip install -r test/requirements.txt
1514
script:
16-
- make test
15+
- make tests
16+
after_success:
17+
codecov
18+

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
all: test
1+
all: tests
22

3-
test:
3+
tests:
44
bash test.sh

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cd test
2-
nosetests
2+
nosetests --with-coverage --cover-package pyecharts --cover-package test

test/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
nose
2+
codecov
3+
coverage

0 commit comments

Comments
 (0)