Skip to content

Commit

Permalink
Use ClickHouse Docker container.
Browse files Browse the repository at this point in the history
  • Loading branch information
rom8726 committed Sep 20, 2018
1 parent 4b5e958 commit 3f26205
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ jobs:
docker:
# specify the version here
- image: circleci/elixir:1.5
- image: yandex/clickhouse-server
ports:
- 8123:8123
- 9000:9000

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand All @@ -22,8 +26,7 @@ jobs:
sudo apt-get install software-properties-common
sudo apt-add-repository "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/"
sudo apt-get update
sudo apt-get install clickhouse-server-common clickhouse-client --force-yes
sudo service clickhouse-server start
sudo apt-get install clickhouse-client --force-yes
# specify any bash command here prefixed with `run: `
- run: mix local.hex --force
Expand Down

0 comments on commit 3f26205

Please sign in to comment.