Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate circleci configuration to 2.0 #411

Merged
merged 1 commit into from
Aug 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
jobs:
build:
docker:
- image: circleci/elixir:1.6
environment:
MIX_ENV: test

working_directory: ~/repo
steps:
- checkout
- run: mix local.hex --force # install Hex locally (without prompt)
- run: mix local.rebar --force # fetch a copy of rebar (without prompt)

- restore_cache:
keys:
- mix-cache-{{ checksum "mix.lock" }}

- run: mix do deps.get
- save_cache:
key: mix-cache-{{ checksum "mix.lock" }}
paths: "deps"

- run: mix test
- run: MIX_ENV=prod mix compile
14 changes: 0 additions & 14 deletions circle.yml

This file was deleted.