Travis Core (or travis-core) contains a lot of shared code between the different Travis CI applications.
See the README in lib/travis for more information on the structure of the repository.
Travis Core requires PostgreSQL 9.3 or higher, as well as a recent version of Redis and RabbitMQ.
- Clone the repository:
git clone https://github.com/travis-ci/travis-core.git
- Install gem dependencies:
bundle install --binstubs --path=vendor/gems
- Set up the database:
bin/rake db:setup db:test:prepare
To run the RSpec tests:
bin/rake. Make sure PostgreSQL, Redis and RabbitMQ are running.
Please fork the repository and submit a pull request. For larger changes, please open a ticket on our main issue tracker first.