X Tutup
Skip to content

Commit e05b8f8

Browse files
committed
tweak CI to run new Makefile target; add codecov token to .gitignore
1 parent 6aa5736 commit e05b8f8

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ pip-log.txt
2626

2727
# Unit test / coverage reports
2828
.coverage
29+
.codecov-token
2930
.tox
3031
htmlcov
32+
.tox
33+
nosetests.xml
34+
htmlcov
35+
coverage.xml
3136

3237
# PyCharm data
3338
.idea

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ dev: env
1818
pip install -r requirements.testing.txt
1919

2020
info:
21-
python --version
22-
pyenv --version
23-
pip --version
21+
@python --version
22+
@pyenv --version
23+
@pip --version
2424

2525
clean:
2626
rm -fr build
@@ -43,6 +43,9 @@ coverage: clean
4343
coverage html
4444
coverage report
4545

46+
ci: info coverage
47+
CODECOV_TOKEN=`cat .codecov-token` codecov
48+
4649
build: clean
4750
python setup.py check
4851
python setup.py sdist

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ test:
1010
- uname -a
1111
- lsb_release -a
1212
override:
13-
- make coverage
13+
- make ci

0 commit comments

Comments
 (0)
X Tutup