Prepare integration tests for CI

* Use Travis CI secure environment variables
  (http://about.travis-ci.org/docs/user/build-configuration/#Secure-environment-variables)
* Skip specs marked `:external` when secure environment variables are
  not present.