.circleci/config.yml in legion-data-java-1.1.2 vs .circleci/config.yml in legion-data-java-1.1.3
- old
+ new
@@ -97,11 +97,11 @@
command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
when: always
- sonarcloud/scan
"jruby-nine-two-e":
docker:
- - image: circleci/jruby:9.2.11-jre
+ - image: circleci/jruby:9.2.13-jre
- image: circleci/mysql:5.7
environment:
MYSQL_DATABASE: 'legion'
MYSQL_ROOT_PASSWORD: 'legion'
MYSQL_USER: 'legion'
@@ -129,19 +129,22 @@
MYSQL_PASSWORD: 'legion'
steps:
- checkout
- ruby/load-cache
- run:
+ name: Install Rubocop
+ command: gem install rubocop rubocop-sequel rubocop-performance rubocop-rspec
+ - run:
name: update bundler
command: gem update bundler
- ruby/install-deps
- run:
name: update max connections
command: 'sudo apt-get install default-mysql-client && mysql -h 127.0.0.1 -u root --password=legion --execute="set global max_connections = 100000;"'
- ruby/run-tests
- run:
name: Run Rubocop
- command: bundle exec rubocop --format=json --out=rubocop-result.json
+ command: rubocop --format=json --out=rubocop-result.json
- sonarcloud/scan
- ruby/save-cache
workflows:
version: 2
\ No newline at end of file