Fix syntax in travis configuration.
Use URL validation in the validate_url gem.