Permalink
Cannot retrieve contributors at this time
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?
ansible-role-awx/shippable.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45 lines (41 sloc)
1.43 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |