aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8d82c6a84e34ac2015e4fc944d1989ff2f03407d (plain)
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
language: bash

env:
  - SHUNIT_COLOR='always'

script:
  # Execute the unit tests.
  - ./test_runner

addons:
  apt:
    packages:
      - ksh
      - mksh
      - zsh

matrix:
  include:
    - os: linux
      # Ubuntu Bionic 18.04
      dist: bionic
    - os: linux
      # Ubuntu Xenial 16.04
      dist: xenial
    - os: osx
    - os: linux
      script:
        # Run the source through ShellCheck (http://www.shellcheck.net).
        - shellcheck *_test.sh
        - shellcheck -s sh shflags shflags_test_helpers

branches:
  only:
  - master
  - 1.0.x
  # Tags, e.g. v.1.2.3.
  - /^v\d+\.\d+(\.\d+)?(-\S*)?$/