summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-10 13:50:03 -0500
committerGitHub <noreply@github.com>2016-11-10 13:50:03 -0500
commitc48e1eebc9858b4b10e836617821436d5c60bc57 (patch)
treef416b42484f60599668e2fe2d1a9f71b31b2ddaf
parent9eea7c605d6a1e7f25fce248aae4e917108d0f87 (diff)
parent9e0fe8da3cd5d00e54d4a4ca8b77073dd6b10fc7 (diff)
downloadopenshift-c48e1eebc9858b4b10e836617821436d5c60bc57.tar.gz
openshift-c48e1eebc9858b4b10e836617821436d5c60bc57.tar.bz2
openshift-c48e1eebc9858b4b10e836617821436d5c60bc57.tar.xz
openshift-c48e1eebc9858b4b10e836617821436d5c60bc57.zip
Merge pull request #2781 from rhcarvalho/travis
Add Travis integration
-rw-r--r--.travis.yml15
-rw-r--r--README.md1
-rw-r--r--requirements.txt2
3 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..001bfdc39
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,15 @@
+sudo: false
+
+language: python
+python:
+ - "2.7"
+
+install:
+ - pip install -r requirements.txt
+
+script:
+ # TODO(rhcarvalho): check syntax of other important entrypoint playbooks
+ - ansible-playbook --syntax-check playbooks/byo/config.yml
+ # TODO(rhcarvalho): update make ci to pick up these tests
+ - nosetests --tests=test
+ - cd utils && make ci
diff --git a/README.md b/README.md
index 65ac13032..bb8f56824 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
[![Join the chat at https://gitter.im/openshift/openshift-ansible](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/openshift/openshift-ansible)
+[![Build Status](https://travis-ci.org/openshift/openshift-ansible.svg?branch=master)](https://travis-ci.org/openshift/openshift-ansible)
# OpenShift Ansible
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 000000000..e55ef5f0b
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,2 @@
+ansible>=2.1
+pyOpenSSL