diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..d1dedd566073f8fc9aac1f56ea8676577f9a6de1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +--- +image: adarnimrod/ci-images:docker + +stages: + - test + +pre-commit: + stage: test + image: adarnimrod/ci-images:pre-commit + variables: + XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" + script: + - pre-commit run --all-files + cache: + paths: + - .cache/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 937b6e28b8da2d2f07387cb9cd109224796a396e..de07ee0122b0d93ff98d5baa1a7bdc49e6f4075a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: hooks: - id: shell-lint exclude: &excluded_shellscripts |- - \.bash_completion\.d/(docker-machine\.bash|fabric-completion.bash|docker-compose)|\.travis/travis\.sh + \.bash_completion\.d/(docker-machine\.bash|fabric-completion.bash|docker-compose)|\.travis/travis\.sh|toolbox - id: shellcheck exclude: *excluded_shellscripts - id: shell-lint diff --git a/README.md b/README.md index a55a933779b6fb21c23e36a3438946b4ef0d732e..219b77331f787712cda9cbf9f822be8a1fb92c72 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # rcfiles -[](https://travis-ci.org/adarnimrod/rcfiles) +[](https://git.shore.co.il/nimrod/rcfiles/-/commits/master) A repository with my rc files. The purpose is for me to have revision control of my home directory, maybe send somebody a link to an example