Skip to content

Commit c396574

Browse files
authored
Merge pull request #114 from PSPDFKit-labs/ditch-cowboy-1
Ditch Cowboy 1.0
2 parents a2f8a74 + 286c423 commit c396574

File tree

2 files changed

+57
-16
lines changed

2 files changed

+57
-16
lines changed

.travis.yml

Lines changed: 56 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,65 @@
11
language: elixir
2-
elixir:
3-
- 1.10
4-
- 1.9
5-
- 1.8
6-
- 1.7
7-
otp_release:
8-
- 20.0
9-
- 21.0
10-
- 22.0
11-
sudo: false # to use faster container based build environment
2+
123
env:
134
- MIX_ENV=test
5+
146
install:
157
- mix do local.hex --force, local.rebar --force
16-
- mix deps.get # need to explicitly get test deps, see mix.exs
8+
- mix deps.get
179
- mix compile
10+
1811
script:
1912
- mix test
13+
2014
# https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
21-
matrix:
22-
exclude:
23-
- otp_release: 20.0
24-
elixir: 1.10
15+
jobs:
16+
include:
17+
# Elixir 1.7: 19-22
18+
- elixir: "1.7"
19+
otp_relase: "19.0"
20+
21+
- elixir: "1.7"
22+
otp_relase: "20.0"
23+
24+
- elixir: "1.7"
25+
otp_relase: "21.0"
26+
27+
- elixir: "1.7"
28+
otp_relase: "22.0"
29+
30+
# Elixir 1.8: 20-22
31+
- elixir: "1.8"
32+
otp_relase: "20.0"
33+
34+
- elixir: "1.8"
35+
otp_relase: "21.0"
36+
37+
- elixir: "1.8"
38+
otp_relase: "22.0"
39+
40+
# Elixir 1.9: 20-22
41+
- elixir: "1.9"
42+
otp_relase: "20.0"
43+
44+
- elixir: "1.9"
45+
otp_relase: "21.0"
46+
47+
- elixir: "1.9"
48+
otp_relase: "22.0"
49+
50+
# Elixir 1.10: 21-22
51+
- elixir: "1.10"
52+
otp_relase: "21.0"
53+
54+
- elixir: "1.10"
55+
otp_relase: "22.0"
56+
57+
# Elixir 1.11: 21-23
58+
- elixir: "1.11"
59+
otp_relase: "21.0"
60+
61+
- elixir: "1.11"
62+
otp_relase: "22.0"
63+
64+
- elixir: "1.11"
65+
otp_relase: "23.0"

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule Bypass.Mixfile do
2626

2727
defp deps do
2828
[
29-
{:plug_cowboy, "~> 1.0 or ~> 2.0"},
29+
{:plug_cowboy, "~> 2.0"},
3030
{:plug, "~> 1.7"},
3131
{:ranch, "~> 1.3"},
3232
{:ex_doc, "> 0.0.0", only: :dev},

0 commit comments

Comments
 (0)