summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2016-11-10 15:07:20 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2016-11-10 19:39:27 +0100
commit9e0fe8da3cd5d00e54d4a4ca8b77073dd6b10fc7 (patch)
tree2994ba0cda30da5e232e13ad0458ede8ff01bec1 /.travis.yml
parenta052d498950f473f2b854de25468aca516c4447d (diff)
downloadopenshift-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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 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