Fixed travis script

## What? Why?
Travis script didn't work due to a bug in the script

## Any note for the reviewers?
Check that the script passes

## GIF
![gif](https://media.giphy.com/media/MvgZsMTlbRsPe/giphy.gif)