mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
54 lines
981 B
YAML
54 lines
981 B
YAML
language: ruby
|
|
|
|
services:
|
|
- docker
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- curl
|
|
- git
|
|
- shellcheck
|
|
- python-pip
|
|
|
|
rvm:
|
|
- ruby
|
|
|
|
env:
|
|
matrix:
|
|
- PLATFORM=fedora
|
|
- PLATFORM=centos-7
|
|
- PLATFORM=centos-6
|
|
- PLATFORM=amazon-1
|
|
- PLATFORM=ubuntu-1804
|
|
- PLATFORM=ubuntu-1604
|
|
- PLATFORM=ubuntu-1404
|
|
- PLATFORM=debian-8
|
|
- PLATFORM=debian-9
|
|
- PLATFORM=arch
|
|
- PLATFORM=opensuse
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- env: PLATFORM=ubuntu-1804
|
|
- env: PLATFORM=ubuntu-1604
|
|
- env: PLATFORM=debian-8
|
|
- env: PLATFORM=debian-9
|
|
- env: PLATFORM=centos-6
|
|
|
|
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 -l warn -c 6 "$PLATFORM"
|
|
- bundle exec kitchen verify "$PLATFORM"
|
|
|
|
after_script:
|
|
- bundle exec kitchen list $PLATFORM
|
|
- bundle exec kitchen destroy "$PLATFORM"
|