update travis-build etc

This triggers errors ala:

```
/home/travis/build.sh: line 352: syntax error near unexpected token `fi'
/home/travis/build.sh: line 352: `fi'
```

Example is build 3191559 and 3192105 on pro. Exact line varies.

Same code works on travis-ci.org and staging.