Update configuration of OpenStack tests
Change-Id: I4eac0dc4748436c0896f0a552279a57fd7003792
diff --git a/.travis.yml b/.travis.yml
index 695ee96..ebbd003 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,17 +2,24 @@
python:
- "2.7.13"
sudo: required
+services:
+ - docker
install:
+ - pip install PyYAML
+ - pip install virtualenv
- |
- git clone https://gerrit.mcp.mirantis.com/salt-formulas/salt-formulas-scripts
- sudo -H bash ./salt-formulas-scripts/bootstrap-openstack-kitchen.sh
+ if [ ! -e Gemfile ]; then
+ echo $PWD
+ curl -s -o ./Gemfile 'https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas/salt-formulas-scripts.git;a=blob_plain;f=Gemfile;hb=refs/heads/master'
+ fi
+ - bundle install
env:
- - UBUNTU_DISTRO=xenial SALT_VERSION=2018.3 SUITE=iptables
- - UBUNTU_DISTRO=xenial SALT_VERSION=2017.7 SUITE=iptables
- - UBUNTU_DISTRO=bionic SALT_VERSION=2018.3 SUITE=iptables
- - UBUNTU_DISTRO=bionic SALT_VERSION=2017.7 SUITE=iptables
+ - UBUNTU_DISTRO=xenial SALT_VERSION='2018.3.0' SUITE=iptables
+ - UBUNTU_DISTRO=xenial SALT_VERSION='2017.7.0' SUITE=iptables
+ # - UBUNTU_DISTRO=bionic SALT_VERSION='2018.3' SUITE=iptables
+ # - UBUNTU_DISTRO=bionic SALT_VERSION='2017.7' SUITE=iptables
before_script:
- set -o pipefail