restrict testing to python 2 and use apt versions of numpy/scipy/matplotlib