Browse Source

fix go-swagger installation since /usr/local/bin is not writtable

pull/26/head
Nicolas Massé 7 years ago
parent
commit
585e2eb6d6
  1. 2
      .travis.yml

2
.travis.yml

@ -6,7 +6,7 @@ install:
- pip install jmespath - pip install jmespath
# Pre-install go-swagger locally since it cannot be fetched from the Travis-CI # 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. # 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 - mkdir tests/bin/ && curl -L -o tests/bin/swagger https://github.com/go-swagger/go-swagger/releases/download/0.16.0/swagger_linux_amd64 && chmod 755 tests/bin/swagger
script: script:
- ansible-playbook tests/write-inventory-files.yml - ansible-playbook tests/write-inventory-files.yml
- ansible-playbook -v -i tests/inventory tests/3scale-saas-with-hosted-apicast-apikey.yml - ansible-playbook -v -i tests/inventory tests/3scale-saas-with-hosted-apicast-apikey.yml

Loading…
Cancel
Save