-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
55 lines (42 loc) · 1.45 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
sudo: false
language: erlang
matrix:
fast_finish: true
# Jobs that are allowed to fail:
allow_failures:
- env: TEST=".travis/travis_has_latest_otp_version"
- env: TEST="make gradualize"
include:
# Check that the latest Erlang version is tested
# This test will fail with 'X' when a new version is available via kerl.
# At that point, update THIS test's otp_release to the new one.
# The test will keep failing with '!', until Travis has the new version.
# When the test starts failing with 'X' again, Travis has the new version.
# At that point, update otp_release in the corresponding list below
- env: TEST=".travis/travis_has_latest_otp_version"
# Latest minor version of current OTP release
otp_release: 23.1
# Run make target specialized for the checks we want to make in Travis for
# the latest OTP release.
# Includes coverage report and dialyzer .
- env: TEST="make travischeck" ENABLE_COVER=true
# Latest minor version of current OTP release
otp_release: 23.0
- env: TEST="make gradualize"
# Latest minor version of current OTP release
otp_release: 23.0
# OTP releases that we test in the same way.
# The latest OTP version is special and therefore explicitly
# included above instead.
otp_release:
# First minor version of current OTP release
- 23.0
# Last minor version of older OTP releases
- 22.2
- 21.3
env:
- TEST="make tests"
script:
- $TEST
after_success:
- .travis/after_success