File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,4 @@ mapnik/paths.py
1818.mason /
1919mason_packages /
2020mapnik /plugins
21+ .coverage
Original file line number Diff line number Diff line change @@ -42,16 +42,22 @@ before_install:
4242 - PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user nose
4343 - PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user wheel
4444 - PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user twine
45+ # prevent from compiling libyaml (which fails with clang) when installing PyYAML as python-coveralls dependency
46+ - PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user --install-option="--without-libyaml" PyYAML
47+ - PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user --no-compile python-coveralls
4548 - python --version
4649
4750install :
4851 - python setup.py install --prefix $(pwd)/mason_packages/.link
4952
50- before_script :
51- - python test/run_tests.py -q
52-
5353script :
5454 - python test/visual.py -q
55+ - python setup.py nosetests --with-coverage --cover-package=mapnik
56+
57+ after_script :
58+ - coveralls
59+
60+ after_success :
5561 - if [[ ${COMMIT_MESSAGE} =~ "[publish]" ]]; then
5662 python setup.py bdist_wheel;
5763 if [[ $(uname -s) == 'Linux' ]]; then
You can’t perform that action at this time.
0 commit comments