-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from CapSens/ruby-2-7-warnings
add circleci config
- Loading branch information
Showing
4 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
version: 2.1 | ||
orbs: | ||
ruby: circleci/[email protected] | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/ruby:2.7-node | ||
executor: ruby/default | ||
steps: | ||
- checkout | ||
- run: | ||
name: Bundle install | ||
command: | | ||
gem install bundler:2.1.4 | ||
bundle install --path vendor/bundle | ||
- run: | ||
name: Test | ||
command: bundle exec rspec | ||
- run: | ||
name: Coding style | ||
command: | | ||
gem install rubocop | ||
mkdir -p rubocop | ||
rubocop --format html -o rubocop/rubocop.html || true | ||
- run: | ||
name: Notation | ||
command: | | ||
gem install sexp_processor -v 4.13.0 | ||
gem install rubycritic -v 4.3.2 | ||
rubycritic app --no-browser || true | ||
- run: | ||
name: "Axe d'optimisation" | ||
command: | | ||
gem install fasterer | ||
fasterer || true | ||
- run: | ||
name: "Audit Securité du Gemfile" | ||
command: | | ||
gem install bundler-audit | ||
bundle audit --update | ||
- store_artifacts: | ||
path: rubocop/rubocop.html | ||
- store_artifacts: | ||
path: tmp/rubycritic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters