--- language: python python: 2.7 sudo: required services: - docker # Install requirements install: - pip install tox-travis # Test all the scenarios against the Ansible versions defined in the tox.ini file script: - tox notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ # TODO: this should run once before_deploy: - pip install ansible==2.4 - ansible-galaxy install --force --roles-path . -r ./molecule/default/requirements.yml - wget -O packer.zip https://releases.hashicorp.com/packer/1.1.3/packer_1.1.3_linux_amd64.zip - unzip -o packer.zip deploy: - provider: script script: ./packer build packer-docker.json skip_cleanup: true - provider: script script: ./packer build packer.json skip_cleanup: true