This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
forked from tompave/fun_with_flags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (49 loc) · 1.99 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
dist: bionic
language: elixir
elixir:
- 1.9
- 1.8
- 1.7
- 1.6
otp_release:
- 22.1
- 22.0
- 21.3
- 20.3
env:
- CACHE_ENABLED=true PERSISTENCE=ecto RDBMS=postgres PUBSUB_BROKER=phoenix_pubsub TEST_OPTS='--no-start --exclude redis_pubsub --exclude redis_persistence --exclude phoenix_pubsub:with_redis --include phoenix_pubsub:with_ecto --include phoenix_pubsub:true --include ecto_persistence'
- CACHE_ENABLED=false PERSISTENCE=ecto RDBMS=postgres PUBSUB_BROKER=phoenix_pubsub TEST_OPTS='--no-start --only integration'
- CACHE_ENABLED=true PERSISTENCE=ecto RDBMS=mysql PUBSUB_BROKER=phoenix_pubsub TEST_OPTS='--no-start --exclude redis_pubsub --exclude redis_persistence --exclude phoenix_pubsub:with_redis --include phoenix_pubsub:with_ecto --include phoenix_pubsub:true --include ecto_persistence'
- CACHE_ENABLED=false PERSISTENCE=ecto RDBMS=mysql PUBSUB_BROKER=phoenix_pubsub TEST_OPTS='--no-start --only integration'
- CACHE_ENABLED=true PERSISTENCE=redis TEST_OPTS='--exclude phoenix_pubsub --exclude ecto_persistence'
- CACHE_ENABLED=false PERSISTENCE=redis TEST_OPTS='--only integration'
- CACHE_ENABLED=true PERSISTENCE=redis PUBSUB_BROKER=phoenix_pubsub TEST_OPTS='--no-start --exclude redis_pubsub --exclude ecto_persistence --exclude phoenix_pubsub:with_ecto --include phoenix_pubsub:with_redis --include phoenix_pubsub:true'
- CACHE_ENABLED=false PERSISTENCE=redis PUBSUB_BROKER=phoenix_pubsub TEST_OPTS='--no-start --only integration'
matrix:
exclude:
- elixir: 1.9
otp_release: 20.3
- elixir: 1.8
otp_release: 20.3
- elixir: 1.7
otp_release: 20.3
- elixir: 1.6
otp_release: 22.1
- elixir: 1.6
otp_release: 22.0
- elixir: 1.6
otp_release: 21.3
services:
- redis-server
- postgresql
- mysql
script:
- mix compile --warnings-as-errors
- mix test --force $TEST_OPTS
before_script:
- MIX_ENV=test mix ecto.create
- MIX_ENV=test mix ecto.migrate
notifications:
email:
on_success: never
on_failure: never