File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,18 @@ before_install:
17
17
- popd
18
18
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
19
19
install :
20
+ # This has to be on a single "virtual line" because of how Travis
21
+ # munges each line before executing it to print out the exit status.
22
+ # It's okay for it to be on multiple physical lines, so long as you remember:
23
+ # - There can't be any leading "-"s
24
+ # - All newlines will be removed, so use ";"s
25
+ - if [ "${TRAVIS_PYTHON_VERSION:0:1}" \< "3" ]; then
26
+ easy_install -U pydicom;
27
+ fi
20
28
- python setup.py install
21
29
# command to run tests, e.g. python setup.py test
22
30
script :
23
31
# Change into an innocuous directory and find tests from installation
24
- - cd doc
32
+ - mkdir for_testing
33
+ - cd for_testing
25
34
- nosetests `python -c "import os; import nibabel; print(os.path.dirname(nibabel.__file__))"`
You can’t perform that action at this time.
0 commit comments