DEV Community

radin reth
radin reth

Posted on

Travis ci with Secure Environment variable

Install travis

gem install travis
travis login --pro --github-token {GITHUBTOKEN}
Enter fullscreen mode Exit fullscreen mode

Generate GITHUBTOKEN goto:
https://github.com/settings/tokens

For private projects:

  • user:email (read-only)
  • read:org (read-only)
  • repo

For open source projects:

  • user:email (read-only)
  • read:org (read-only)
  • repo_deployment
  • repo:status
  • write:repo_hook
travis encrypt SENTRY_DSN="get from sentry" --add
Enter fullscreen mode Exit fullscreen mode

Top comments (0)