mongodb_exporter
mongodb_exporter copied to clipboard
travis CI setup
Could we set up a Travis CI project for this repo? Would be helpful to track test coverage + run CI against pull requests
@dcu can you add this repo to Travis-CI (free for open source)? I can help out w/ the .travis.yml file. It'll help to run tests against PRs, etc..
Additional actions to complete:
- Configure <GITHUB_API_KEY> on .travis.yml
- Setup travis-ci.org project
- Push a new git tag to perform a new release, for example v1.1.0
@avishefi can you setup the project?
@dcu only admins can enable the builds on Travis
I can do it if I have admin permissions on the repository
I triggered the build manually have submitted a pull request to fix a redundunt git clone in the build definition (pull request #82). The build passed successfully: https://travis-ci.org/dcu/mongodb_exporter/builds
I tried setting up the Travis build but they insist on having administrator permissions for this. What remains to be done is to setup the <GITHUB_API_KEY> on .travis.yml and tag a commit so a new release will be created.
I've merged a fix to .travis.yml and tested a build: https://travis-ci.org/dcu/mongodb_exporter/builds/329831685
Now we need to configure the <GITHUB_API_KEY> on .travis.yml and tag a commit so a new release will be created. The repository admin must do this on Travis, I don't have permissions for that.
@dcu You just need to login into Travis CI with your GitHub account and click there: https://travis-ci.org/dcu/mongodb_exporter.
@dcu can we setup a release using Travis? all that's left is to issue a GitHub API key for: https://travis-ci.org/dcu/mongodb_exporter