From: Javier BĂ©rtoli Date: Wed, 14 Oct 2020 20:29:56 +0000 (-0300) Subject: Merge pull request #4 from netmanagers/refactor-config-add-service X-Git-Url: https://git.arvados.org/arvados-formula.git/commitdiff_plain/0e92df5527997b13464edfd4d8041f1ce8a41cbb Merge pull request #4 from netmanagers/refactor-config-add-service Upgrade formula for Arvados version 2.1.0 --- 0e92df5527997b13464edfd4d8041f1ce8a41cbb diff --cc .travis.yml index 8edfbcd,3ced9e0..83b41c1 --- a/.travis.yml +++ b/.travis.yml @@@ -54,21 -57,11 +57,25 @@@ jobs - npm i -D @commitlint/config-conventional @commitlint/travis-cli - commitlint-travis + # Install and run `pre-commit` + - pip install pre-commit + - pre-commit run --all-files --verbose + - pre-commit run --hook-stage manual --verbose commitlint-travis + # Run `pre-commit` linters in a single job + - language: 'python' + env: 'Lint_pre-commit' + name: 'Lint: pre-commit' + before_install: 'skip' + cache: + directories: + - $HOME/.cache/pre-commit + script: + # Install and run `pre-commit` + - pip install pre-commit==2.7.1 + - pre-commit run --all-files --color always --verbose + - pre-commit run --color always --hook-stage manual --verbose commitlint-travis + ## Define the rest of the matrix based on Kitchen testing # Make sure the instances listed below match up with # the `platforms` defined in `kitchen.yml`