Skip to content

Commit

Permalink
install openjdk8
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Jul 10, 2019
1 parent 5be6839 commit 48db2ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 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
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
services:
- redis-server
env:
- DB=postgresql
notifications:
slack:
secure: H47CWe0kjyXGsaSOtjt22kVvJ8ixbMrvF9imV2nxCUzqK7oens8xNE6VqB3JQ2Rb5n6NMZHpR2cCcG8jcSRm9ZmGgOHLaUdxRxVqTJ1dgD64j1/wNlpNGUp3eAo8XurarmF+06DBOLgiNG65mNmcQ2HFxDC0Vbhxwt4F1IvTlLU=
sudo: false
addons:
postgresql: "9.6"
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10
jdk:
- openjdk8
dist: xenial

0 comments on commit 48db2ab

Please sign in to comment.