You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
952 B
23 lines
952 B
language: python
|
|
matrix:
|
|
include:
|
|
- python: '2.7'
|
|
env: ANSIBLE_VERSION=2.4.6 THREESCALE_POOL=0
|
|
- python: '3.6'
|
|
env: ANSIBLE_VERSION=2.7.5 THREESCALE_POOL=1
|
|
install:
|
|
- pip install ansible==$ANSIBLE_VERSION
|
|
- 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.
|
|
- 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:
|
|
- tests/run-tests.sh
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
branches:
|
|
except:
|
|
- /^dev.*/
|
|
before_install:
|
|
# travis encrypt-file tests/3scale-inventory.yaml tests/3scale-inventory.yaml.enc
|
|
- openssl aes-256-cbc -K $encrypted_5ba3c614c7e1_key -iv $encrypted_5ba3c614c7e1_iv -in tests/3scale-inventory.yaml.enc -out tests/3scale-inventory.yaml -d
|
|
|