Skip to content

Commit

Permalink
trim travis fat
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismeyersfsu committed Nov 1, 2016
1 parent a644225 commit 3d73bee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .travis.yml
@@ -1,29 +1,16 @@
sudo: required
dist: trusty
language: python
python:
- "2.7"
python: "2.7"
services:
- docker
env:
global:
- PATH="/usr/bin:$PATH"

before_install:
# Ansible doesn't play well with virtualenv
- deactivate
- sudo apt-get update -qq
- sudo apt-get install -y -o Dpkg::Options::="--force-confnew" docker-engine

install:
- sudo pip install docker-py
# software-properties-common for ubuntu 14.04
# python-software-properties for ubuntu 12.04
- sudo apt-get install -y sshpass software-properties-common python-software-properties
- sudo apt-add-repository -y ppa:ansible/ansible
- sudo apt-get update -qq
- sudo apt-get install -y ansible
- sudo rm /usr/bin/python && sudo ln -s /usr/bin/python2.7 /usr/bin/python
- sudo apt-get install sshpass
- pip install docker-py
- pip install ansible
- ansible --version

script:
Expand Down
1 change: 1 addition & 0 deletions test/ansible.cfg
@@ -1,6 +1,7 @@
[defaults]
host_key_checking = False
retry_files_enabled = False
ansible_python_interpreter = python

[paramiko_connection]
record_host_keys = False
Expand Down
1 change: 1 addition & 0 deletions test/group_vars/all
@@ -0,0 +1 @@
ansible_python_interpreter: '/usr/bin/env python'

0 comments on commit 3d73bee

Please sign in to comment.