Skip to content

Commit

Permalink
Test against Phoenix 1.5.x (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
poteto committed Feb 25, 2021
1 parent 950153d commit c8ed276
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -10,10 +10,11 @@ matrix:
- env: PHOENIX_VERSION=1.2.0
- env: PHOENIX_VERSION=1.3.0
- env: PHOENIX_VERSION=1.4.0
- env: PHOENIX_VERSION=1.5.0

before_script:
- MIX_ENV=ci PHOENIX_VERSION=$PHOENIX_VERSION mix deps.get

script:
- mix test.lint
- mix test
- mix test
5 changes: 3 additions & 2 deletions README.md
@@ -1,4 +1,4 @@
# terraform [![Hex](https://img.shields.io/hexpm/v/terraform.svg)](https://hex.pm/packages/terraform) [![Build Status](https://travis-ci.com/poteto/terraform.svg?branch=master)](https://travis-ci.com/poteto/terraform) ![Phoenix compatibility](https://img.shields.io/badge/phoenix%20compat-%3E%3D%201.2.0%20and%20%3C%3D%201.4.x-blue)
# terraform [![Hex](https://img.shields.io/hexpm/v/terraform.svg)](https://hex.pm/packages/terraform) [![Build Status](https://travis-ci.com/poteto/terraform.svg?branch=master)](https://travis-ci.com/poteto/terraform) ![Phoenix compatibility](https://img.shields.io/badge/phoenix%20compat-%3E%3D%201.2.0%20and%20%3C%3D%201.5.x-blue)

Terraform is a simple `Plug` designed to work with Phoenix. Terraform allows you to incrementally transform a HTTP API into one powered by Phoenix - one endpoint at a time.

Expand All @@ -13,6 +13,7 @@ This package is explicitly tested against the following Phoenix versions:
| ~> 1.2.0 ||
| ~> 1.3.0 ||
| ~> 1.4.0 ||
| ~> 1.5.0 ||

## Installation

Expand Down Expand Up @@ -67,4 +68,4 @@ end

### Reading the request body

`Plug` has an elegant solution to this problem using [`Plug.Conn.read_body`](https://hexdocs.pm/plug/Plug.Conn.html#read_body/2). Refer to this [comment](https://github.com/phoenixframework/phoenix/issues/459#issuecomment-440820663) for details.
`Plug` has an elegant solution to this problem using [`Plug.Conn.read_body`](https://hexdocs.pm/plug/Plug.Conn.html#read_body/2). Refer to this [comment](https://github.com/phoenixframework/phoenix/issues/459#issuecomment-440820663) for details.

0 comments on commit c8ed276

Please sign in to comment.