Skip to content

Add Travis build config without numpy#212

Merged
lesteve merged 1 commit intojoblib:masterfrom
lesteve:add-travis-distrib-without-numpy
May 4, 2015
Merged

Add Travis build config without numpy#212
lesteve merged 1 commit intojoblib:masterfrom
lesteve:add-travis-distrib-without-numpy

Conversation

@lesteve
Copy link
Copy Markdown
Member

@lesteve lesteve commented Apr 30, 2015

to test that joblib has only a soft dependence on numpy. Note many doctests assume numpy is installed so doctests are disabled when WITHOUT_NUMPY="true".

I could not find a way to override the with-doctest value in setup.cfg (there doesn't seem to be a config flag saying --with-doctest=0 or a value of NOSE_WITH_DOCTEST which disables doctests) so I did it the hacky way:

cat setup.cfg | grep -v 'with-doctest=' > setup.cfg

@lesteve lesteve force-pushed the add-travis-distrib-without-numpy branch from c18b8b0 to 1c124c8 Compare April 30, 2015 12:32
@lesteve
Copy link
Copy Markdown
Member Author

lesteve commented Apr 30, 2015

cat setup.cfg | grep -v 'with-doctest=' > setup.cfg

Actually this doesn't work because it makes setup.cfg empty so I had to do

cat setup.cfg | grep -v 'with-doctest=' > setup.cfg.new
mv setup.cfg{.new,}

@lesteve lesteve force-pushed the add-travis-distrib-without-numpy branch from 1c124c8 to 7e1852b Compare April 30, 2015 12:42
to test that joblib has only a soft dependence on numpy
@lesteve lesteve force-pushed the add-travis-distrib-without-numpy branch from 7e1852b to 366fd11 Compare April 30, 2015 13:02
lesteve added a commit that referenced this pull request May 4, 2015
@lesteve lesteve merged commit cab7858 into joblib:master May 4, 2015
@lesteve lesteve deleted the add-travis-distrib-without-numpy branch May 4, 2015 10:50
ogrisel added a commit to ogrisel/joblib that referenced this pull request Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant