From 9ece80137c30919e24d0ad31f2e111e6a6aede73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 24 Aug 2018 11:53:40 +0200 Subject: [PATCH] pre-install go-swagger before running the travis ci --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 02f9244..1f0b7b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ python: install: - pip install ansible==2.4.0 - pip install jmespath +# Pre-install go-swagger locally since it cannot be fetched from the Travis-CI +# infrastructures because of rate limits imposed by GitHub on its API. +- curl -L -o /usr/local/bin/swagger https://github.com/go-swagger/go-swagger/releases/download/0.16.0/swagger_linux_amd64 && chmod 755 /usr/local/bin/swagger script: - ansible-playbook tests/write-inventory-files.yml - ansible-playbook -v -i tests/inventory tests/3scale-saas-with-hosted-apicast-apikey.yml