Skip to content

Commit 7af6a9b

Browse files
authored
Merge pull request #2 from elixir-waffle/feature/1-add-ci-integration
add ci integration
2 parents 52602bf + 600d19f commit 7af6a9b

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

Dockerfile.codeship

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM elixir:1.9.1-alpine
2+
3+
RUN mix local.hex --force && \
4+
mix local.rebar --force
5+
6+
WORKDIR /srv/app
7+
8+
COPY . .
9+
10+
ENV MIX_ENV=test
11+
12+
RUN mix deps.get
13+
14+
CMD mix test

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Waffle
22
===
33

4+
[![Codeship Status for elixir-waffle/waffle](https://app.codeship.com/projects/182a04b0-aa53-0137-1d00-2259d5318dee/status?branch=master)](https://app.codeship.com/projects/361668)
5+
46
Waffle is a flexible file upload library for Elixir with straightforward integrations for Amazon S3 and ImageMagick.
57

68
Browse the readme below, or jump to [a full example](#full-example).

codeship-services.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
waffle:
2+
build:
3+
dockerfile: Dockerfile.codeship

codeship-steps.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- name: tests
2+
service: waffle
3+
command: mix test

0 commit comments

Comments
 (0)