Modified travis.yml

Modified travis.yml as it was not properly working with the
"before_install" parameters