]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/commitdiff
Use Nix for build 6/head
authorFrédéric Menou <frederic.menou@fretlink.com>
Sun, 8 Jul 2018 01:21:46 +0000 (03:21 +0200)
committerFrédéric Menou <frederic.menou@fretlink.com>
Sun, 8 Jul 2018 01:21:56 +0000 (03:21 +0200)
.travis.yml

index 812d0fe88059d5eec71a3a3bb93c657eb549a2ea..de15287e6a4605c6300ea3454e258e91dd56b8d8 100644 (file)
@@ -1,20 +1,12 @@
 ---
-language: python
-python: "2.7"
+language: nix
 
 # Use the new container infrastructure
 sudo: false
 
-# Install ansible
-addons:
-  apt:
-    packages:
-    - python-pip
-
 install:
   # Install ansible
-  - pip install ansible
-  - pip install ansible-lint
+  - nix-env -i python2.7-ansible python2.7-ansible-lint
 
   # Check ansible version
   - ansible --version