[tests] fix travis builds.