Skip to content

Commit

Permalink
Add CircleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
drapergeek committed Jan 20, 2017
1 parent 6fa4bb1 commit 2c5f3c6
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
erlang 19.0
elixir 1.3.2
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![CircleCI](https://circleci.com/gh/thoughtbot/redbird.svg?style=svg&circle-token=ffeb06ba85ab9e15f98730027745be851d647b61&branch=master)](https://circleci.com/gh/thoughtbot/redbird)

# Redbird

**Redbird is part of the [thoughtbot Elixir family][elixir-phoenix] of projects.**
Expand Down
Empty file modified bin/test_suite
100644 → 100755
Empty file.
22 changes: 22 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
machine:
environment:
PATH: "./bin:$HOME/.asdf/bin:$HOME/.asdf/shims:$PATH"
services:
- redis
dependencies:
pre:
- if ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi
- asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git || true
- asdf plugin-add elixir https://github.com/HashNuke/asdf-elixir.git || true
- asdf install
- mix local.hex --force
- mix local.rebar --force
- yes | mix deps.get
cache_directories:
- ~/.mix
- ~/.asdf
- deps
test:
override:
- MIX_ENV=prod mix compile --warnings-as-errors
- bin/test_suite

0 comments on commit 2c5f3c6

Please sign in to comment.