diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2016-11-10 15:07:20 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2016-11-10 19:39:27 +0100 |
commit | 9e0fe8da3cd5d00e54d4a4ca8b77073dd6b10fc7 (patch) | |
tree | 2994ba0cda30da5e232e13ad0458ede8ff01bec1 | |
parent | a052d498950f473f2b854de25468aca516c4447d (diff) | |
download | openshift-9e0fe8da3cd5d00e54d4a4ca8b77073dd6b10fc7.tar.gz openshift-9e0fe8da3cd5d00e54d4a4ca8b77073dd6b10fc7.tar.bz2 openshift-9e0fe8da3cd5d00e54d4a4ca8b77073dd6b10fc7.tar.xz openshift-9e0fe8da3cd5d00e54d4a4ca8b77073dd6b10fc7.zip |
Add Travis integration
We can run simple tests in every PR, while triggering our internal CI
tests on manually selected PRs.
This is a bit better than the all-or-nothing we have today.
Running `make ci` in Travis is the same as the Jenkins 'default' job.
-rw-r--r-- | .travis.yml | 15 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | requirements.txt | 2 |
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 @@ -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 |