Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a11cef

Browse files
committed
use pip install -e
1 parent 6ecf603 commit 2a11cef

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ install:
9696
cp Felipa-Regular.ttf ~/.fonts
9797
fc-cache -f -v
9898
fi;
99-
- python setup.py install
99+
- pip install -e .
100100

101101
script:
102102
# The number of processes is hardcoded, because using too many causes the
@@ -109,7 +109,7 @@ script:
109109
- |
110110
if [[ $BUILD_DOCS == false ]]; then
111111
export MPL_REPO_DIR=$PWD # needed for pep8-conformance test of the examples
112-
gdb -return-child-result -batch -ex r -ex bt --args python setup.py test --nocapture --processes=$NPROC --process-timeout=300 $TEST_ARGS
112+
gdb -return-child-result -batch -ex r -ex bt --args python setup.py test --nocapture --processes=$NPROC --process-timeout=300 --with-coverage $TEST_ARGS
113113
else
114114
cd doc
115115
python make.py html --small --warningsaserrors
@@ -173,7 +173,5 @@ after_success:
173173
if [[ $BUILD_DOCS == false && $TEST_ARGS != "--pep8" ]]; then
174174
# account for us running the test out-of-repo and coveralls expects in-repo
175175
# tests
176-
mv cover .coverage ../matplotlib
177-
cd ../matplotlib
178176
coveralls
179177
fi

0 commit comments

Comments
 (0)