From 170046480ae32df5a4e8173aaff0ec0e8284e506 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Tue, 30 May 2023 18:34:22 +0200 Subject: [PATCH] :fire: Remove TravisCI --- .travis.yml | 51 --------------------------------------------------- README.md | 4 ++-- 2 files changed, 2 insertions(+), 53 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 349bf71..0000000 --- a/.travis.yml +++ /dev/null @@ -1,51 +0,0 @@ ---- - -env: - global: - - VAGRANT_VERSION='2.2.18' - jobs: - - PLATFORM='docker-debian-bullseye' ANSIBLE_VERSION='>=2.11,<2.12' - - PLATFORM='docker-debian-buster' ANSIBLE_VERSION='>=2.11,<2.12' - -os: - - linux -dist: focal - -language: python -python: - - 3.8 - -services: - - docker - -before_install: - - sudo apt-get -q update - - sudo apt-get install -y yamllint - - sudo wget -nv https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb - - sudo dpkg -i vagrant_${VAGRANT_VERSION}_x86_64.deb - -install: - - sudo pip install "ansible-core$ANSIBLE_VERSION" - - sudo pip install ansible-lint - - ansible-galaxy collection install community.general - - ansible-galaxy install -p ./tests hanxhx.php - -script: - - VAGRANT_DEFAULT_PROVIDER=docker vagrant up $PLATFORM - - > - VAGRANT_DEFAULT_PROVIDER=docker vagrant provision $PLATFORM - | grep -q 'changed=0.*failed=0' - && (echo 'Idempotence test: pass' && exit 0) - || (echo 'Idempotence test: fail' && exit 1) - - VAGRANT_DEFAULT_PROVIDER=docker vagrant status - - > - yamllint . - && (echo 'YAML lint test: pass' && exit 0) - || (echo 'YAML lint test: fail' && exit 1) - - > - ansible-lint -v tests/test.yml - && (echo 'Ansible lint test: pass' && exit 0) - || (echo 'Ansible lint test: fail' && exit 1) - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/README.md b/README.md index a130b2b..3f0e6d4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Nginx for Debian/FreeBSD Ansible role ===================================== -[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-HanXHX.nginx-blue.svg)](https://galaxy.ansible.com/HanXHX/nginx/) [![Build Status](https://app.travis-ci.com/HanXHX/ansible-nginx.svg?branch=master)](https://app.travis-ci.com/HanXHX/ansible-nginx) +[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-HanXHX.nginx-blue.svg)](https://galaxy.ansible.com/HanXHX/nginx/) Install and configure Nginx on Debian/FreeBSD. @@ -102,7 +102,7 @@ Note ---- - Active support for Debian. -- FreeBSD support is experimental (no Travis). I only test (for the moment) 10.2 (but it can work on other versions). +- FreeBSD support is experimental. I only test (for the moment) 10.2 (but it can work on other versions). Dependencies ------------