Improved travis CI tests script