sudo: required

language: sh

services:
  - docker

env:
  - TEST_SUITE=lint
  - TEST_SUITE=test_bash
  - TEST_SUITE=test_dash
  - TEST_SUITE=test_sh
  - TEST_SUITE=test_zsh

script:
  - make $TEST_SUITE

after_success:
  - make coverage
  - bash <(curl -s https://codecov.io/bash)

sudo: required

language: sh

services:
  - docker

jobs:
  include:
    - stage: Test
      script: make lint
    - script: make test_bash
    - script: make test_dash
    - script: make test_sh
    - script: make test_zsh
    - script: make coverage
    - stage: Coverage Report
      script: bash <(curl -s https://codecov.io/bash)

Add Travis build stage for coverage report
Add Travis build stage for coverage report
