fix if-clause in .travis.yml