• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1language: bash
2
3env:
4  - SHUNIT_COLOR='always'
5
6script:
7  # Execute the unit tests.
8  - ./test_runner
9
10addons:
11  apt:
12    packages:
13      - ksh
14      - mksh
15      - zsh
16
17matrix:
18  include:
19    - os: linux
20      dist: bionic  # Ubuntu Bionic 18.04 (EoL Apr 2028).
21    - os: linux
22      dist: xenial  # Ubuntu Xenial 16.04 (EoL Apr 2024).
23    - os: linux
24      dist: trusty  # Ubuntu Trusty 14.04 (EoL Apr 2022).
25    - os: osx
26    - os: linux
27      script:
28        # Run the source through ShellCheck (http://www.shellcheck.net).
29        - shellcheck *_test.sh
30        - shellcheck -s sh shflags shflags_test_helpers
31
32branches:
33  only:
34  - master
35  - 1.0.x
36  # Tags, e.g. v.1.2.3.
37  - /^v\d+\.\d+(\.\d+)?(-\S*)?$/
38