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

index ed037ea3efc66a961bccdc71e3a1e31efbfc9fd5..2b452f94769d8ec64496bede6b038191a6f84a04 100644 (file)
@@ -1,19 +1,10 @@
 ---
-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
+  - nix-env -i python2.7-ansible
 
   # Check ansible version
   - ansible --version