Skip to content

Instantly share code, notes, and snippets.

@korczis
Created April 3, 2014 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korczis/9951272 to your computer and use it in GitHub Desktop.
Save korczis/9951272 to your computer and use it in GitHub Desktop.
Example of secure env variable usage (encrypted GD_PROJECT_TOKEN)
language: ruby
env:
- TEST_SUITE=test:unit
- secure: "eeUfQOhPwjvrUPd3hUzwDmj5PUGtAyBTbRusGtLeN7jSC0UgiYL3YxqN1qksgFSN9/81xw305VK4iAiZT7IrZ+8YvbtVLWcRwjPHfinaevAQsIDnmIQez0Y78VxyKsS8ekAW0J8Ux+GqCxrU1OBB+0x9jL2YiZaOI51OiUxEChc="
rvm:
- 1.9.3
- 2.1.0
- ruby-head
before_install:
- gem update --system
- gem update bundler
before_script:
- cp spec/data/.gooddata ~/
script: rake $TEST_SUITE || '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && rake test:integration || false'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment