From: Sébastien Han Date: Thu, 1 Dec 2016 15:28:56 +0000 (+0100) Subject: ci: remove travis X-Git-Tag: v2.1.0~29^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6707c82fa01a712b7d3fcfafef770c8014ad161a;p=ceph-ansible.git ci: remove travis since now we have the ceph CI taking care of the syntax check we don't need travis anymore. Thanks Travis you served us well! Signed-off-by: Sébastien Han (cherry picked from commit 9fbe65cb72e01c586af3a27788c8e3e9549e0abf) --- diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fb9276647..000000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -language: python -python: "2.7" - -env: - - SITE=test.yml - -before_install: - - sudo apt-get update -qq - - sudo apt-get install -y curl - -install: - # Install Ansible. - - pip install ansible - - # Add ansible.cfg to pick up roles path. - - "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg" - -script: - # Check the role/playbook's syntax. - - "ansible-playbook -i dummy-ansible-hosts $SITE --syntax-check" - - # Run the role/playbook with ansible-playbook. - #- "ansible-playbook -i dummy-ansible-hosts $SITE --connection=local --sudo" - - # Run the role/playbook again, checking to make sure it's idempotent. - #- > - # ansible-playbook -i dummy-ansible-hosts $SITE --connection=local --sudo - # | grep -q 'changed=0.*failed=0' - # && (echo 'Idempotence test: pass' && exit 0) - # || (echo 'Idempotence test: fail' && exit 1) - - # Make sure Ansible is installed (yes, this is contrived, since Ansible was - # already installed via pip earlier...). - - "which ansible"