-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
43 lines (43 loc) · 1022 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
sudo: false
dist: trusty
language: erlang
otp_release:
- 20.0.1
- 19.3.6.1
- 18.3
addons:
apt:
sources:
- debian-sid
packages:
## GNU Make 4. GNU Make 3.81 as [in Ubuntu 14.04
## "trusty"](https://packages.ubuntu.com/trusty/make) is not
## sufficient, because of error on `triq` test dep when running
## `make tests`. Also erlang.mk reports the following warning:
## "erlang.mk:24: Please upgrade to GNU Make 4 or later:
## https://erlang.mk/guide/installation.html".
- make
before_install:
- make --version
script:
- |
case "${JOB:?}" in
dotapp)
A=ebin/gb_merkle_trees.app
test -f ${A:?}
C=$(cat ${A:?})
rm ${A:?} && test ! -e ${A:?} && make ${A:?} && test -f ${A:?}
printf "%b" "${C:?}" | diff -u - ${A:?}
;;
*)
make ${JOB:?}
;;
esac
matrix:
include:
- otp_release: 20.0.1
env: JOB=edoc
- otp_release: 20.0.1
env: JOB=dotapp
env:
- JOB=check