mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 01:03:35 +02:00
Updated robot setup
This commit is contained in:
parent
527bc2a0dc
commit
1e38c0f7d7
3 changed files with 23 additions and 16 deletions
10
bin/robot
10
bin/robot
|
@ -16,14 +16,12 @@ export RAILS_ENV=test
|
|||
cd "$(dirname "$0")"; cd ..
|
||||
|
||||
cp config/application-example.yml config/application.yml
|
||||
# create manually config/database.yml
|
||||
cp config/database-robot.yml config/database.yml
|
||||
|
||||
bundle install
|
||||
|
||||
RAILS_ENV=test bundle exec rake db:drop
|
||||
RAILS_ENV=test bundle exec rake db:all:create
|
||||
RAILS_ENV=test bundle exec rake db:all:schema:load
|
||||
RAILS_ENV=test bundle exec rake db:seed
|
||||
RAILS_ENV=test bundle exec rake db:all:drop
|
||||
RAILS_ENV=test bundle exec rake db:all:setup
|
||||
RAILS_ENV=test bundle exec rake assets:precompile
|
||||
|
||||
echo "GIT_LAST_COMMITS"
|
||||
|
@ -36,7 +34,7 @@ RCODE=$?
|
|||
echo "END_OF_RUBOCOP_RESULTS"
|
||||
|
||||
echo "TEST_RESULTS"
|
||||
ROBOT=true bundle exec rake test
|
||||
ROBOT=true bundle exec rake
|
||||
TCODE=$?
|
||||
echo "END_OF_TEST_RESULTS"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue