]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blobdiff - .travis.yml
tests: fake a Kong server
[github/fretlink/ansible-kong-app.git] / .travis.yml
index 1deea24b5532eadc9bb4211b2fddbdb9ed7de596..14ab868b529eae5894a46235d4d8934a6757c3b3 100644 (file)
@@ -13,7 +13,7 @@ install:
   - nix-channel --update
 
   # Install ansible
-  - nix-env -i ansible ansible-lint
+  - nix-env -i python3 ansible ansible-lint
   - nix-env -if ./dhall-1.26.1.nix
 
   # Check ansible version
@@ -22,12 +22,15 @@ install:
 
   # Create ansible.cfg with correct roles_path
   - printf '[defaults]\nroles_path=../' >ansible.cfg
+  # Basic webserver to fake a Kong
+  - |
+    ./tests/kong.py&
 
 script:
   # Basic role syntax check
   - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
   - ansible-lint .
-  - ansible-playbook tests/test.yml -i tests/inventory -C -D
+  - ansible-playbook tests/test.yml -i tests/inventory -D
   - scripts/dhall_check.sh
 
 notifications: