-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
62 lines (54 loc) · 1.2 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
50
51
52
53
54
55
56
57
58
59
60
61
62
---
env:
global:
- WORKSPACE="/ci-actions/workspace"
- REMARKLINT_VERSION="6.0.4"
stages:
- markdown-lint
- elixir-lint
- test-1.3
- test-1.4
- test-1.5
- test-1.6
- test-1.7
- test-1.8
jobs:
include:
- stage: markdown-lint
language: bash
image: docker:18-git
before_script:
- docker pull smoloney/ci-actions-remark:${REMARKLINT_VERSION} > /dev/null
script:
- |
docker run --rm -v ${PWD}:${WORKSPACE} smoloney/ci-actions-remark:${REMARKLINT_VERSION} \
--exclude='./deps' \
--exclude='./_build' \
--exec-args='--frail --rc-path ./.remarkrc'
- stage: elixir-lint
language: elixir
elixir: 1.8
otp_release: 21.2
script:
- mix format --check-formatted --dry-run
- &test
stage: test-1.4
language: elixir
elixir: 1.4
otp_release: 19.2
- <<: *test
stage: test-1.5
elixir: 1.5
otp_release: 20.3
- <<: *test
stage: test-1.6
elixir: 1.6
otp_release: 20.3
- <<: *test
stage: test-1.7
elixir: 1.7
otp_release: 20.3
- <<: *test
stage: test-1.8
elixir: 1.8
otp_release: 21.2