Let's guard both of these lines with something like

```
if [[ "$TRAVIS" != "" ]]
then
  #...
fi
```