From 8da741f7257ca1ad8103935289cd8988dc4d7389 Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Fri, 18 Jan 2013 11:36:58 +0000 Subject: [PATCH 1/3] Adding travis.yml file for Travis continuous intregration service, may not work yet --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..bc8eb3ab --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: + - "2.7" +# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors +install: + - "pip install scipy>=0.10.1" + - "pip install numpy>=1.6.2" + - "pip install sphinx" + - "pip install ./" +# command to run tests, e.g. python setup.py test +script: + - "nosetests --with-xcoverage --with-xunit --cover-package=GPy --cover-erase GPy/testing" From 52a97763300b7926c5ceb2a97ffe328af0759705 Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Fri, 18 Jan 2013 11:42:46 +0000 Subject: [PATCH 2/3] Changing travis installation --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc8eb3ab..a4faeaee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ python: - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - - "pip install scipy>=0.10.1" - - "pip install numpy>=1.6.2" - - "pip install sphinx" - - "pip install ./" + - pip install scipy>=0.10.1 + - pip install numpy>=1.6.2 + - pip install sphinx + - pip install . --use-mirrors # command to run tests, e.g. python setup.py test script: - - "nosetests --with-xcoverage --with-xunit --cover-package=GPy --cover-erase GPy/testing" + - nosetests --with-xcoverage --with-xunit --cover-package=GPy --cover-erase GPy/testing From 1aca88d27fb59a5e10c9a61dc9555c8cd9417507 Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Fri, 18 Jan 2013 12:14:31 +0000 Subject: [PATCH 3/3] Fixed version setting for numpy scipy installatioN --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4faeaee..921cf083 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ python: - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - - pip install scipy>=0.10.1 - - pip install numpy>=1.6.2 + - pip install "scipy>=0.10.1" + - pip install "numpy>=1.6.2" - pip install sphinx - pip install . --use-mirrors # command to run tests, e.g. python setup.py test