Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
---
language: python
python:
- "2.7"
env:
# - SCENARIO_NAME=buildenv
- SCENARIO_NAME=cibuild
build:
pre_ci:
- cat /etc/lsb-release
- pip install docker --upgrade
# Install Docker Compose Binary
# https://github.com/docker/docker-py/issues/1395
- curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- docker version
- docker-compose version
ci:
- cat /etc/lsb-release
- whoami
- pip install --upgrade six
- pip install docker
- pip install docker-py --upgrade
# Install Docker Compose Binary
# https://github.com/docker/docker-py/issues/1395
- curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- pip install molecule --upgrade
- pip install ansible --upgrade
- docker version
- docker-compose version
- molecule --version
- ansible --version
- testinfra --version
- which py.test
- py.test --version
# Test Build environment
- molecule test --scenario-name $SCENARIO_NAME
# Create test results directory
- mkdir -p $SHIPPABLE_REPO_DIR/shippable/testresults/$TEST_SUITES
- mv ~/$SCENARIO_NAME'_results' $SHIPPABLE_REPO_DIR/shippable/testresults/$TEST_SUITES/testresults.xml