{"id":14235968,"url":"https://github.com/caarlos0-graveyard/shell-ci-build","last_synced_at":"2026-01-23T06:13:21.183Z","repository":{"id":25129951,"uuid":"28551872","full_name":"caarlos0-graveyard/shell-ci-build","owner":"caarlos0-graveyard","description":"A submodule to lint your shell projects with shellcheck in travis.ci builds","archived":false,"fork":false,"pushed_at":"2017-08-28T02:20:41.000Z","size":37,"stargazers_count":39,"open_issues_count":0,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-13T01:34:40.057Z","etag":null,"topics":["lint","shell","shellcheck","travis"],"latest_commit_sha":null,"homepage":"","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/caarlos0-graveyard.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":"2014-12-28T02:49:17.000Z","updated_at":"2024-03-29T17:09:28.000Z","dependencies_parsed_at":"2022-08-23T19:30:44.269Z","dependency_job_id":null,"html_url":"https://github.com/caarlos0-graveyard/shell-ci-build","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caarlos0-graveyard/shell-ci-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0-graveyard%2Fshell-ci-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0-graveyard%2Fshell-ci-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0-graveyard%2Fshell-ci-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0-graveyard%2Fshell-ci-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caarlos0-graveyard","download_url":"https://codeload.github.com/caarlos0-graveyard/shell-ci-build/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0-graveyard%2Fshell-ci-build/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269813651,"owners_count":24479340,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["lint","shell","shellcheck","travis"],"created_at":"2024-08-20T21:02:35.175Z","updated_at":"2026-01-23T06:13:21.131Z","avatar_url":"https://github.com/caarlos0-graveyard.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"shell-ci-build [![Build Status](https://travis-ci.org/caarlos0/shell-ci-build.svg?branch=master)](https://travis-ci.org/caarlos0/shell-ci-build) [![SayThanks.io](https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.svg?style=flat-square)](https://saythanks.io/to/caarlos0)\n==================\n\nA submodule to lint your shell projects with shellcheck in travis.ci builds.\n\n## Build\n\n- The `install.sh` script will install shellckeck.\n- The `build.sh` will lint all executable files with shellcheck, avoiding\nRuby, compdef and the like files. It will also ignore all files inside `.git`\ndirectory and files of your `gitmodules`, if any.\n\n## Usage\n\n```sh\ngit submodule add https://github.com/caarlos0/shell-ci-build.git build\ncp build/travis.yml.example .travis.yml\n```\n\nOr tweak your `.travis.yml` to be like this:\n\n```yml\nlanguage: bash\ninstall:\n  - ./build/install.sh\nscript:\n  - ./build/build.sh\n```\n\n## Customizing\n\nYou might want to lint other files, to do that, you need your own\n`build.sh` and a slight change in `.travis.yml` file.\n\nExample (from  my [dotfiles](https://github.com/caarlos0/dotfiles)):\n\n```sh\n#!/usr/bin/env bash\nset -eo pipefail\nsource ./build/build.sh\ncheck \"./zsh/zshrc.symlink\"\n```\n\n```yml\nlanguage: bash\ninstall:\n  - ./build/install.sh\nscript:\n  - ./build.sh\nnotifications:\n  email: false\n```\n\nThis will make travis ran the `build.sh` from this project first,\nthen, lint your custom files.\n\nYou can also override the `find_cmd` function, which returns a string\ncontaining the `find` command to `eval`. Check the source or open an\nissue if you have any problems.\n\n## Updating\n\nUpdate your projects is easy. Just run this:\n\n```sh\ngit submodule update --remote --merge \u0026\u0026 \\\n  git commit -am 'updated shell-ci-build version' \u0026\u0026 \\\n  git push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaarlos0-graveyard%2Fshell-ci-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaarlos0-graveyard%2Fshell-ci-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaarlos0-graveyard%2Fshell-ci-build/lists"}