Skip to content

Instantly share code, notes, and snippets.

@jeanlescure
Last active October 7, 2019 22:32
Show Gist options
  • Save jeanlescure/dacd9502ea76518a36c450ea65908ad6 to your computer and use it in GitHub Desktop.
Save jeanlescure/dacd9502ea76518a36c450ea65908ad6 to your computer and use it in GitHub Desktop.
How to install Travis CLI on Mac OSX and Windows

1. Install ruby 2.6+:

Mac OSX

curl -L https://get.rvm.io | bash -s stable

source /Users/myuser/.rvm/scripts/rvm

rvm install ruby-2.6.5

rvm --default use 2.6.5

Windows

  • Download installer and run it
  • When installation completes, press WINKEY and type view advanced system settings.
  • Open that
  • Click Environment Variables
  • Click Path in the list
  • Click Edit
  • Check if C:\Ruby24-x64\bin is already there, if so, done
  • Otherwise, click New and type in C:\Ruby24-x64\bin

2. Follow Travis CLI install instructions:

https://github.com/travis-ci/travis.rb#installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment