-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
49 lines (43 loc) · 1016 Bytes
/
.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
language: shell
services:
- docker
stages:
- Native
- Docker
os:
- linux
dist:
- focal
before_install:
- |
if [ "$TRAVIS_BUILD_STAGE_NAME" = "Native" ]; then
sudo apt-get install -y build-essential libmagic-dev
fi
jobs:
include:
- stage: Native
language: elixir
elixir: 1.11.3
otp_release: 23.1.2
script: mix test
- stage: Native
language: elixir
elixir: 1.11.3
otp_release: 22.3.4
script: mix test
- stage: Native
language: elixir
elixir: 1.10.4
otp_release: 23.1.2
script: mix test
- stage: Native
language: elixir
elixir: 1.10.4
otp_release: 22.3.4
script: mix test
- stage: Docker
name: Alpine Linux
script: docker run --rm -it $(docker build -q -f ./infra/docker-app-test-alpine/Dockerfile .) mix test
- stage: Docker
name: Debian Linux
script: docker run --rm -it $(docker build -q -f ./infra/docker-app-test/Dockerfile .) mix test