218:e7db503ad13d
Anton Shestakov <av6@dwimlabs.net>, Fri, 12 Aug 2016 18:46:51 +0800
pipelines: install build-essential too

next change 219:2f20aff2389c
previous change 217:87332d6ea39b

bitbucket-pipelines.yml

Permissions: -rw-r--r--

Other formats: Feeds:
image: ubuntu:trusty
pipelines:
default:
- step:
script:
- apt-get update && apt-get install -y
build-essential python-dev python-virtualenv
- virtualenv ./venv
- ./venv/bin/pip install ansible
- ansible --version
- echo localhost > inventory
- ansible-playbook provision/playbook.yml
-i inventory --syntax-check
- ansible-playbook provision/playbook.yml
-i inventory --list-tasks
- ansible-playbook provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw --verbose
- pgrep -f '/usr/bin/prosody'
- pgrep nginx
- pgrep reTurnServer
- ansible-playbook provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw
| grep -q 'changed=0.*failed=0'
&& { echo 'Idempotence test passed'; exit 0; }
|| { echo 'Idempotence test failed'; exit 1; }