Skip to content

Commit

Permalink
install openjdk8
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Jul 11, 2019
1 parent b246465 commit be6f635
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ jobs:
# Database setup
- run:
command: dockerize -wait tcp://localhost:5432 -timeout 1m
- run:
command: sudo apt install -y openjdk-8-jre-headless
- run:
command: sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
- run: bundle exec rake db:create
- run: bundle exec rake db:schema:load
- run: bundle exec rake app:sunspot:solr:start RAILS_ENV=test
Expand Down

0 comments on commit be6f635

Please sign in to comment.