salt-bootstrap/.travis.yml
2018-08-14 09:38:53 -05:00

43 lines
763 B
YAML

language: ruby
services:
- docker
addons:
apt:
packages:
- curl
- git
- shellcheck
- python-pip
rvm:
- ruby
env:
matrix:
- SUITE=py2-git-2017.7
- SUITE=py2-git-2018.3
- SUITE=py2-git-fluorine
- SUITE=py2-git-develop
- SUITE=py2-stable-2017.7
- SUITE=py2-stable-2018.3
sudo: true
dist: trusty
before_install:
- pip install --user -r tests/requirements.txt
script:
# Check shell scripts
- shellcheck -s sh -f checkstyle bootstrap-salt.sh
# Run test-kitchen with docker driver:
- bundle exec kitchen create -c 10 "$SUITE"
- bundle exec kitchen converge "$SUITE"
- bundle exec kitchen verify "$SUITE"
after_script:
- bundle exec kitchen list $SUITE
- bundle exec kitchen destriy "$SUITE"