21 lines
425 B
YAML
21 lines
425 B
YAML
language: bash
|
|
|
|
before_install:
|
|
# To install bats and test our shell/bash functions
|
|
- git clone -b "v1.1.0" "https://github.com/bats-core/bats-core.git"
|
|
- sudo ./bats-core/install.sh /usr/local
|
|
- rm -rf ./bats-core
|
|
- sudo apt-get install -qq zsh
|
|
|
|
# For bats functional tests
|
|
env:
|
|
- functional_test="true"
|
|
|
|
# command to run tests
|
|
script:
|
|
- /usr/local/bin/bats test
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|