travis: build on before_script to detect build error as error not failure