File: .travis.yml

package info (click to toggle)
clitest 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 484 kB
  • sloc: sh: 1,570; makefile: 4
file content (33 lines) | stat: -rw-r--r-- 855 bytes parent folder | download | duplicates (3)
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
language: bash

os:
  - linux
  - osx

# Prepare the environment
addons:
  apt:
    packages:
      # Linux: only bash (and sh) are installed by default
      - ksh
      - zsh
      # Linux: install the checkbashisms script
      - devscripts
before_install:
  # OS X: install the checkbashisms script (||true to avoid Linux fail)
  - test "$TRAVIS_OS_NAME" = osx && brew update                || true
  - test "$TRAVIS_OS_NAME" = osx && brew install checkbashisms || true
  - test "$TRAVIS_OS_NAME" = osx && brew install dash          || true

script:
  # Run some code checkings on the script itself
  - checkbashisms --posix clitest
  # Run the full test suite in all the supported POSIX shells
  - bash clitest test.md
  - dash clitest test.md
  - ksh  clitest test.md
  - zsh  clitest test.md
  - sh   clitest test.md

notifications:
  email: false