mongodb_exporter icon indicating copy to clipboard operation
mongodb_exporter copied to clipboard

travis CI setup

Open deepthawtz opened this issue 9 years ago • 9 comments

Could we set up a Travis CI project for this repo? Would be helpful to track test coverage + run CI against pull requests

deepthawtz avatar Aug 24 '16 19:08 deepthawtz

@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..

deepthawtz avatar Nov 23 '16 18:11 deepthawtz

Additional actions to complete:

  1. Configure <GITHUB_API_KEY> on .travis.yml
  2. Setup travis-ci.org project
  3. Push a new git tag to perform a new release, for example v1.1.0

avishefi avatar Nov 26 '17 11:11 avishefi

@avishefi can you setup the project?

dcu avatar Nov 29 '17 14:11 dcu

@dcu only admins can enable the builds on Travis

avishefi avatar Nov 29 '17 15:11 avishefi

I can do it if I have admin permissions on the repository

avishefi avatar Dec 03 '17 12:12 avishefi

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.

avishefi avatar Dec 04 '17 21:12 avishefi

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.

avishefi avatar Jan 17 '18 11:01 avishefi

@dcu You just need to login into Travis CI with your GitHub account and click there: https://travis-ci.org/dcu/mongodb_exporter.

AlekSi avatar Oct 25 '18 15:10 AlekSi

@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

avishefi avatar Aug 10 '19 16:08 avishefi