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

Version Path
taperole-2.1.1 vendor/Stouts.backup/.travis.yml
taperole-2.1.0 vendor/Stouts.backup/.travis.yml
taperole-2.0.7 vendor/Stouts.backup/.travis.yml
taperole-2.0.6 vendor/Stouts.backup/.travis.yml
taperole-2.0.5 vendor/Stouts.backup/.travis.yml
taperole-2.0.4 vendor/Stouts.backup/.travis.yml
taperole-2.0.3 vendor/Stouts.backup/.travis.yml
taperole-2.0.2 vendor/Stouts.backup/.travis.yml
taperole-2.0.1 vendor/Stouts.backup/.travis.yml
taperole-2.0.0 vendor/Stouts.backup/.travis.yml
taperole-1.8.2 vendor/Stouts.backup/.travis.yml
taperole-1.8.1 vendor/Stouts.backup/.travis.yml
taperole-1.8.0 vendor/Stouts.backup/.travis.yml
taperole-1.7.1 vendor/Stouts.backup/.travis.yml
taperole-1.7.0 vendor/Stouts.backup/.travis.yml