aboutsummaryrefslogtreecommitdiff
blob: 6b7c782f6365f42ab2f0dc0212e45c635690bcb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Wait for Elasticsearch to start up
sleep 30

bundler install
yarn install --check-files
bundle exec rake tmp:create RAILS_ENV=test
bundle exec rake webpacker:compile RAILS_ENV=test
bundle exec rake kkuleomi:index:init RAILS_ENV=test
bundle exec rake kkuleomi:update:all RAILS_ENV=test

RAILS_ENV=test bundle exec rake test test/