Data Sources

How to Publish GrAMPS Data Sources

TKTK

Add (or Remove) Code Climate

Since it’s free for open source repos, we strongly recommend taking advantage of Code Climate. We’ve already set up .travis.yml for you — all you have to do is:

  1. Enable Code Climate on the repo
  2. On codeclimate.com, open the repo, then click the Settings tab and choose “Test coverage” from the left-hand menu
  3. Find your “test reporter ID” at the bottom of the test coverage settings

    Code Climate Test Reporter ID

  4. Copy the test reporter ID to the bottom of .travis.yml in the CC_TEST_REPORTER_ID field:

      env:
          global:
    +     - CC_TEST_REPORTER_ID=498901dee0a2d339971e1bef0d73e3564e5362b33ad765b53cd60000092529ac6
    

NOTE: If you don’t want to use Code Climate, delete the before_script and after_script sections of .travis.yml.

IMPORTANT: If you want your data source to be part of the official gramps-graphql org and available under the @gramps scope in npm, it must be configured to use Code Climate.

close