added changes, brian testing on travis only for python 2.7