Commit Graph

8 Commits

Author SHA1 Message Date
chkoar 3003da7075 DOC: Correct scikit-learn name in comments (#8681) 2017-04-03 12:20:04 +02:00
Loïc Estève fcb1403132 Travis: tweak test_script.sh (#8444)
* --with-coverage was repeated twice and nose-timer options were disabled
* make test-doc uses nosetests so skip if if USE_PYTEST is true
2017-02-23 14:55:28 +01:00
Loïc Estève 0ec6664ff1 [MRG] Make tests runnable with pytest without error (#8246)
* Make tests runnable with pytest without error.

Errors were due to pytest quirks with (deprecated) yield support.

* Add pytest build on Travis

and tweak pytest settings in setup.cfg

* Tweak comment
2017-02-20 13:08:09 +01:00
Loïc Estève fdfdbf025f Test sphinx extensions doctests only on Circle. (#8228)
Some sphinx extensions import sphinx in their doctests.
2017-01-25 22:40:47 +01:00
Loïc Estève 6a2d8d5bbc [MRG+2] BUILD Rewrite setup.py files to handle cython dependencies (#7719)
* Rewriting of cythonization in setup.py

By using Cython.Build.cythonize and switching between .c and .pyx files
as appropriate cython dependencies are correctly taken into account.

* Use cythonize once on the root config rather than in each subpackage

* Fix for Windows

* Remove caching from Travis

Cython dependencies are taken care of by Cython.Build.cythonize and
based on file timestamps, so .C and .so files will always be rebuild
from scratch on each build in Travis.

* Specify .pyx in setup.files for cython generated extensions

More natural this way. Tweak the extensions to generate from .c and .cpp
files for a release.

* COSMIT Remove commented out code

* Check cython version is greater than 0.23

* COSMIT better names for functions

* flake8 fix (imported module not at top of file)

* Install cython 0.23 for Python 2.6

now that cython >= 0.23 requirement is enforced in setup.py

* Use module constant for minimum required cython version

* Fix Travis install.sh

No easy way to put comments inside multi-line command
2016-11-02 22:57:04 +11:00
Siddharth Gupta c887653e0a [MRG+1] #7466 add pandas to CI jobs (#7499)
* add pandas to CI jobs

* add pandas to CI jobs, removed errors

* commit

* commit

*  add pandas to CI jobs after review1

*  add pandas to CI jobs after review2

*  add pandas to CI jobs after review2-b

*  add pandas to CI jobs, removed extra spaces

*  add pandas to CI jobs, update test_script

*  add pandas to CI jobs, remove formatting error

*  add pandas to CI jobs, remove extranous space
2016-09-28 12:46:46 -04:00
Loïc Estève 4566251618 [MRG+3] Add flake8 linting of the diff in Travis (#7127)
* Add flake8 linting on the diff

with respect to common ancestor of branch and scikit-learn/scikit-learn
remote.

Add a flake8-diff target in the Makefile and mention it in the doc.

* Only install flake8 when needed
2016-08-30 12:59:57 +10:00
Nelson Liu 4b7a0e01ce enh: reorganize build files
fix: change path for building doc on circleci

enh: removed useless WindowError and cythonize.dat in _build_utils init
2016-02-18 09:40:51 -08:00