-
Notifications
You must be signed in to change notification settings - Fork 212
/
.travis.yml
49 lines (42 loc) · 1.02 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
language: bash
env:
- SHUNIT_COLOR='always'
script:
# Execute the unit tests.
- ./test_runner
addons:
apt:
packages:
- ksh
- mksh
- zsh
matrix:
include:
### Ubuntu (https://en.wikipedia.org/wiki/Ubuntu).
- os: linux
# Support Ubuntu Focal 20.04 through at least Apr 2025.
dist: focal
- os: linux
# Support Ubuntu Bionic 18.04 through at least Apr 2023.
dist: bionic
- os: linux
# Support Ubuntu Xenial 16.04 through at least Apr 2021.
dist: xenial
- os: linux
# Support Ubuntu Trusty 14.04 through at least Apr 2019.
dist: trusty
### Other OSes.
# [2021-10-22 kward] Disable FreeBSD builds until they actually work.
#- os: freebsd
- os: osx
### Run the source through ShellCheck (http://www.shellcheck.net).
- os: linux
script:
- shellcheck shunit2 *_test.sh
- shellcheck -s sh shunit2_test_helpers
branches:
only:
- master
- 2.1.x
# Tags, e.g. v.2.1.8.
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/