summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2016-06-22 16:12:02 +0200
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2016-06-22 16:20:57 +0200
commitdb6866797bd91b8dde8ecd535ab1a490a1d200db (patch)
tree39103910192067d675fcd046e46609f6743d9690
parentbedfed3db77ecaafdb86e9e4847c7bb6ddc2563d (diff)
downloadranger-db6866797bd91b8dde8ecd535ab1a490a1d200db.tar.gz
Enable Travis-CI
-rw-r--r--.travis.yml18
-rw-r--r--Makefile2
2 files changed, 19 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..2bc017d3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,18 @@
+language: python
+python:
+  - "2.6"
+  - "2.7"
+  - "3.2"
+  - "3.3"
+  - "3.4"
+  - "3.5"
+  - "3.5-dev" # 3.5 development branch
+  - "nightly" # currently points to 3.6-dev
+
+# command to install dependencies
+install:
+  - pip install pytest
+
+# command to run tests
+script:
+  - make test
diff --git a/Makefile b/Makefile
index 5de061ff..870901da 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ test:
 		echo "Testing $$FILE..."; \
 		RANGER_DOCTEST=1 PYTHONPATH=".:"$$PYTHONPATH ${PYTHON} $$FILE; \
 	done
-	@if type -t py.test > /dev/null; then \
+	@if type py.test > /dev/null; then \
 		echo "Running py.test tests..."; \
 		py.test tests; \
 	else \