POC for getting remaining credits on a Travis CI Free plan
Development
In the terminal:
- Run
git clone https://github.com/qasim-at-tci/tci-credits.git
- Make sure ruby-3.1.1 is installed
- Rename .env-example to .env
- Get travis api token from https://app.travis-ci.com/account/preferences and add it to .env file
- Add User and/or Orgnaization username(s) in .env file
- Run
bundle install
- Run
ruby request.rb