Sha256: 4f2be834ab1e180c649b31ed0a3a9ba280b1614095af502bd59ed2a3079b71dc
Contents?: true
Size: 847 Bytes
Versions: 15
Compression:
Stored size: 847 Bytes
Contents
--- language: python python: "2.7" before_install: - sudo apt-get update -qq - sudo apt-get install -qq python-apt python-pycurl install: - pip install ansible>=1.6.0 script: # Prepare tests - echo localhost > inventory # Check syntax - ansible-playbook --syntax-check -i inventory test.yml # First run - ansible-playbook -i inventory test.yml --connection=local --sudo # Second run Idempotence test - > ansible-playbook -i inventory test.yml --connection=local --sudo | grep -q 'changed=0.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1) - sudo /usr/local/bin/duply test backup - test -d /home/travis/test || exit 1 backup_home: /home/travis/backup backup_profiles: - name: test source: /home/travis/build target: file:///home/travis/test
Version data entries
15 entries across 15 versions & 1 rubygems