Travis CI: fix conditional syntax