{"id":13673821,"url":"https://github.com/vulpemventures/nigiri-travis","last_synced_at":"2025-04-28T13:31:53.018Z","repository":{"id":54356596,"uuid":"243841632","full_name":"vulpemventures/nigiri-travis","owner":"vulpemventures","description":"Travis template for adding 🍣 Nigiri Bitcoin to your CI pipeline. ","archived":true,"fork":false,"pushed_at":"2022-09-28T12:55:06.000Z","size":21,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T00:39:50.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vulpemventures.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-28T19:42:52.000Z","updated_at":"2023-01-27T20:45:30.000Z","dependencies_parsed_at":"2023-01-18T22:31:06.996Z","dependency_job_id":null,"html_url":"https://github.com/vulpemventures/nigiri-travis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulpemventures%2Fnigiri-travis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulpemventures%2Fnigiri-travis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulpemventures%2Fnigiri-travis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulpemventures%2Fnigiri-travis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vulpemventures","download_url":"https://codeload.github.com/vulpemventures/nigiri-travis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319757,"owners_count":21570451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T11:00:24.921Z","updated_at":"2025-04-28T13:31:47.975Z","avatar_url":"https://github.com/vulpemventures.png","language":"Shell","funding_links":[],"categories":["Utilities"],"sub_categories":["E-Books"],"readme":"# Deprecation notice\n\nThe only supported CI is Github Action. Please use this instead https://github.com/vulpemventures/nigiri-github-action\n\n# nigiri-travis\nTravis and Github Action template for adding 🍣 [Nigiri Bitcoin](https://nigiri.vulpem.com) to your CI pipeline. \n\n\n\n## Installer\nYou can spin up a `regtest` development box in any Travis pipeline by running\n\n```sh\ncurl https://travis.nigiri.network | bash\n```\n\n\u003e NOTICE: You'll need to enable **docker** \n\n\n## Example for Travis\n\nCreate a `.travis.yml` in your root folder and add the installer script in the `before_install` step\n\n```yaml\nservices:\n  - docker\n \nbefore_install:\n  - curl https://travis.nigiri.network | bash\n  \ninstall:\n  - docker-compose up -d\n\nscript:\n  - docker ps -a\n  # Get all blocks in Bitcoin\n  - curl http://localhost:3000/blocks\n  # Get the current block height in Liquid\n  - curl http://localhost:3001//blocks/tip/height\n  # Get some Liquid Bitcoins with faucet\n  - curl -X POST --data '{\"address\":\"2MsnWskyHaHvcZUHA4gnR3G95EnUmZQjzM8\"}' http://localhost:3001/faucet`\n  # Push raw TX with automatic mining\n  - curl -X POST --data `xxx` http://localhost:3001/tx`\n\nafter_script:\n  - docker-compose down\n```\n\n## NEW Example for Github Action\n\n```yaml\nname: Nigiri pipeline\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  integration:\n    name: Integration Tests\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Install Nigiri\n        run: |\n          mkdir ~/.nigiri; cd ~/.nigiri\n          curl https://travis.nigiri.network | bash; cd\n          docker-compose -f ~/.nigiri/docker-compose.yml up -d\n\n\n```\n\n## Services\n\n\n* Electrs\n  * REST `localhost:3000`\n  * Faucet `localhost:3000/faucet`\n\n* Electrs for Liquid \n  * REST `localhost:3001`\n  * Faucet `localhost:3001/faucet`\n\n\n* Bitcoin \n  * RPC host:port `localhost:18443`\n  * RPC user `admin1`\n  * RPC password `123`\n\n* Liquid \n  * RPC host:port `localhost:18884`\n  * RPC user `admin1`\n  * RPC password `123`\n\n\n\nFull documentation of  [Electrs REST API](https://github.com/Blockstream/esplora/blob/master/API.md)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulpemventures%2Fnigiri-travis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvulpemventures%2Fnigiri-travis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulpemventures%2Fnigiri-travis/lists"}