From 5ce66eb828a1a98cb478d62dc295d4f5e172944a Mon Sep 17 00:00:00 2001 From: Erik Bernoth Date: Mon, 13 May 2013 16:42:48 +0200 Subject: [PATCH] .travis.yml: Update for simpler unittesting Because the interface for testing and installing did once more got closer to the standard, there is already a payoff in the travis-ci configuration, were now less lines of code are needed. In the new configuration the setuptools standard interface is used for installation as well as testing. The only requirements necessary for installation left are python2.7-dev and libssh2-1-dev, which are C-header dependencies needed for pylibssh2 to build. As far as I see there is not much we can do about those requirements for now. See Issue #34. Signed-off-by: Erik Bernoth Acked-by: Eik Binschek Acked-by: Johannes Kroop --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ff49fa..18e6b71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,12 +16,11 @@ python: - "2.7" install: - - "python setup.py sdist" - - "pip install dist/monk_tf-0.1.1.tar.gz" + - "pip install -r test-env.txt" + - "python setup.py develop" script: - - "python test/test_all.py" + - "python setup.py nosetests" before_install: - - "sudo apt-get install python2.7 python2.7-dev libssh2-1 libssh2-1-dev" - - "sudo apt-get install python-pip" + - "sudo apt-get install python2.7-dev libssh2-1-dev"