Explain your project here.
- If your project is public and hosted in GitHub, you can use travis and coveralls for free.
- If your project is private, you can host it for free in Gitlab and use their CI. You will need to pay for test coverage though.
- Update badges with your user/repo names. Turn your repo ON in Travis.
- Update license to your preferred one.
bundle install
You need to set your environment with a STRIPE_API_KEY
variable equal to a valid Stripe API private test key before running the tests. For example:
export STRIPE_API_KEY=blah
bundle exec rake
bundle exec rspec path/to/test/file.rb
bundle exec rspec path/to/test/file.rb:TESTLINENUMBER
You can send an email to any email address using the test_email_server.rb
script, and setting your email server, username and password, like this:
export EMAIL_SERVER=YOUR_EMAIL_SERVER
export EMAIL_USERNAME=YOUR_USERNAME
export EMAIL_PASSWORD=YOUR_PASSWORD
bundle exec ruby scripts/test_email_server.rb 'YOUR_EMAIL_HERE'