Skip to content

Commit

Permalink
Migrate circleci to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kalys committed Aug 7, 2018
1 parent e2816b8 commit c9302c1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
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.

0 comments on commit c9302c1

Please sign in to comment.