add global variable to check the scipy version.

7 jobs for kpm_time in 2 minutes and 42 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed build package #19768

00:01:19

passed check whitespace style #19769

00:00:16

 
  Test
failed build documentation #19771

00:00:32

failed check for broken links in doc #19773
allowed to fail

00:00:52

passed check for dependencies installed #19770

00:00:15

failed run tests #19772

00:01:23

 
  Deploy
skipped build and upload conda package (manual) #19774
allowed to fail manual
 
Name Stage Failure
failed
check for broken links in doc Test There is an unknown failure, please try again
(line   27) redirect  http://www.nature.com/nphys/journal/v6/n5/abs/nphys1626.html - with Found to http://www.nature.com/nphys/journal/v6/n5/abs/nphys1626.html?foxtrotcallback=true
writing output... [100%] tutorial/superconductors


build finished with problems, 152 warnings.
make: *** [linkcheck] Error 1
Makefile:119: recipe for target 'linkcheck' failed
make: Leaving directory '/builds/pablopiskunow/kwant/doc'
ERROR: Job failed: exit code 1
failed
run tests Test There is an unknown failure, please try again
    warnings.warn('Axes3D.figure.canvas is \'None\', mouse rotation disabled.  Set canvas then call Axes3D.mouse_init().')

kwant/tests/test_wraparound.py::test_symmetry
/builds/pablopiskunow/kwant/kwant/tests/test_wraparound.py:189: RuntimeWarning: `particle_hole` and `time_reversal` symmetries are set on the input builder. However they are ignored for the wrapped system, since Kwant lacks a way to express the existence (or not) of a symmetry at k != 0.
wrapped = wraparound(syst)

-- Docs: http://doc.pytest.org/en/latest/warnings.html
============== 2 failed, 330 passed, 2 warnings in 58.53 seconds ===============
ERROR: Job failed: exit code 1
failed
build documentation Test There is an unknown failure, please try again
  File "kernel_polynomial_method.py", line 139, in increasing_accuracy_example
spectrum.add_vectors(5)
File "../../../../build/lib.linux-x86_64-3.5/kwant/kpm.py", line 360, in add_vectors
self.vectors.extend([[[] for i in range(num_moments)]
AttributeError: 'SpectralDensity' object has no attribute 'vectors'
make: *** [source/code/figure/.kernel_polynomial_method_flag] Error 1
Makefile:174: recipe for target 'source/code/figure/.kernel_polynomial_method_flag' failed
make: Leaving directory '/builds/pablopiskunow/kwant/doc'
ERROR: Job failed: exit code 1