AMD64
no language set
Git
Rheinwerk/ansible-role-update_rs_collector_config:.travis.yml@3e22041
---
language: python
python:
  - "2.7"
  - "3.7"
  - "3.8"
env:
  - ANSIBLE_PIP='ansible'
  - ANSIBLE_PIP='ansible==2.8.*'
  - ANSIBLE_PIP='ansible==2.9.*'
dist: bionic

addons:
  apt:
    packages:
      - python-pip

install:
  # Install ansible
  - pip install "$ANSIBLE_PIP"
  - pip install yamllint

  # Check ansible version
  - ansible --version

    # Create ansible.cfg with correct roles_path
  - printf '[defaults]\nroles_path=../' >ansible.cfg

script:
  - "find . -name '*.yml' -print0 | xargs -0 yamllint -c galaxy-yamllint.yaml"
  - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
  - cd tests; ./run_tests.sh

notifications:
  webhooks: https://galaxy.ansible.com/api/v1/notifications/
Build Config
{
  "os": [
    "linux"
  ],
  "env": {
    "global": [
      "DEBIAN_FRONTEND=noninteractive",
      "PACKAGE=libxcb1-dev",
      "ISSUE_REPO=apt-package-safelist",
      "ISSUE_NUMBER=3251",
      "DIST=precise"
    ]
  },
  "git": {
    "depth": "99999"
  },
  "dist": "trusty",
  "sudo": true,
  "script": [
    "./run_test.sh"
  ],
  "install": [
    "skip"
  ],
  "language": "ruby",
  "notifications": {
    "email": {
      "enabled": false
    }
  },
  "before_install": [
    "if [ -z $PACKAGE ]; then echo \"\\$PACKAGE not defined\" && travis_terminate 2; fi",
    "sudo apt-get update -y -qq",
    "sudo apt-get install -yqq sshpass",
    "if ! command -v docker ; then curl -sSL https://get.docker.io | bash; fi",
    "sudo usermod -a -G docker travis",
    "if [[ $DIST = 'precise' ]]; then\n  IMAGE=quay.io/travisci/travis-node-js:latest\n  export DOCKER=true\n  docker pull ${IMAGE}\n  jq --version || sudo curl -sSL -o /usr/local/bin/jq http://stedolan.github.io/jq/download/linux64/jq && sudo chmod 0755 /usr/local/bin/jq\n  docker images | grep -q -E '^travis\\\\s+\\\\bnode-js\\\\b\\\\s+' || docker tag ${IMAGE} travis:node-js\n  docker run -v /var/tmp:/var/tmp -v /home/travis:/home/travis -d travis:node-js | tee docker_id\n  docker inspect $(< docker_id) | jq -r .[0].NetworkSettings.IPAddress | tee docker_ip_address\n  docker ps\nfi\n"
  ]
}