Sha256: 40b2e50aa6eb5de13365680c5b87382fe781969475d0d1892b8701b4258caabd
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 KB
Contents
#!/usr/bin/env bash set -xeo pipefail echo "=> Yamllint:" yamllint --config-file lib/install/.yamllint.yml --strict .*/*.yml yamllint --config-file lib/install/.yamllint.yml --strict *.yml yamllint --config-file lib/install/.yamllint.yml --strict lib/**/.*.yml yamllint --config-file lib/install/.yamllint.yml --strict **/.*/*.yml mkdir -p tmp/ cd tmp rm -rf test_tmpl # Test installation of missed gems on applying template gem uninstall oj || true if [[ "TEST_APP_TEMPLATE" == "true" ]] then rails new test_tmpl --quiet cd test_tmpl rails app:template LOCATION=../template.rb else rails new test_tmpl --template ../template.rb --quiet --database postgresql cd test_tmpl bin/setup fi echo " => Verify CircleCI config:" circleci config validate echo " => Verify installation scripts:" bin/tools-setup bin/tools-upgrade echo " => Verify linters setup:" git add . git commit -m 'Initial Commit' git checkout -b origin/master git checkout -b test_pr echo " => class SampleForLinters;end" > sample_for_linters.rb git add . git commit -m 'Adds sample_for_linters' bin/rubocop --fail-level F sample_for_linters.rb bin/pronto run -c HEAD~1 --no-exit-code BUNDLE_GEMFILE=Gemfile.tools bin/bundle exec rails_best_practices --without-color --silent --test . BUNDLE_GEMFILE=Gemfile.tools bin/bundle exec erblint --config ../../lib/install/.erb-lint.yml --autocorrect . CIRCLECI=false bin/lint-pr -f text echo " => Run git hooks verifications" bin/git-hooks/post-merge.sample CIRCLECI=false bin/git-hooks/pre-push.sample bin/rubocop --config ../../lib/install/.rubocop.yml --debug --extra-details --display-style-guide --parallel ../../lib node_modules/.bin/eslint --config ../../lib/install/.eslintrc.js --quiet --no-color ../../lib/**/.*.js
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jt_tools-0.0.4 | bin/test |
jt_tools-0.0.3 | bin/test |