Purpose of this container is to create fully working setup for CircleCI.
306
Purpose of this container is to create fully working setup for CircleCI
config.ymlFollowing example works well if you have phoenix/non-phoenix umbrella/plain app with Ecto
version: 2
jobs:
build:
working_directory: ~/working_dir
docker:
- image: noma4i/docker-elixir:latest
- image: postgres:9.4.1
environment:
POSTGRES_USER: postgres
steps:
- checkout
- run: mix local.hex --force
- run: mix local.rebar --force
- run: mix do deps.get, compile
- run: MIX_ENV=test mix ecto.create
- run: mix test
Content type
Image
Digest
Size
318 MB
Last updated
about 9 years ago
docker pull noma4i/docker-elixir