242:db8ff6663838
Anton Shestakov <av6@dwimlabs.net>, Sat, 03 Dec 2016 14:17:39 +0800
pipelines: also make sure .coffee files compile to the committed .js files

next change 243:bdfbccd545be
previous change 241:21acc0f5719e

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
libffi-dev
libssl-dev
python-dev
python-virtualenv
- virtualenv ./venv
- ./venv/bin/pip install ansible
- ./venv/bin/ansible --version
- echo localhost > inventory
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --syntax-check
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --list-tasks
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw --verbose
-e 'user=alice dir=/home/alice/files'
- test -f /home/alice/files/index.html
- pgrep -f '/usr/bin/prosody'
- pgrep nginx
- pgrep reTurnServer
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw
-t certs,nginx,prosody,turnserver,tram-im
-e 'user=alice dir=/home/alice/files'
| tee ansible.log
- if grep -q 'changed=0.*failed=0' ansible.log;
then
echo 'Idempotence test passed'; exit 0;
else
echo 'Idempotence test failed'; exit 1;
fi
- make devel build
- test $(HGPLAIN=1 hg d | wc -l) -eq 0
- contrib/updatesri.sh *.html
- test $(HGPLAIN=1 hg d | wc -l) -eq 0