From 5fb827c61e7c14113f0b21453d225ba2d6705842 Mon Sep 17 00:00:00 2001 From: John Evans Date: Thu, 19 Sep 2013 16:27:19 -0400 Subject: [PATCH 1/2] Attempt to fix travis build. #120 --- .travis.yml | 9 +++------ requirements.txt | 3 +++ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml index a8a0d1b..f4fc733 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,13 +10,10 @@ before_install: - sudo apt-get install -qq python3-numpy # command to install dependencies -install: - - pip install . --use-mirrors +install: "pip install -r requirements.txt --use-mirrors" # command to run tests -script: - - "python -m unittest discover" +script: "python -m unittest discover" notifications: - email: - - john.g.evans.ne@gmail.com + email: "john.g.evans.ne@gmail.com" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9dd042a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +numpy +contextlib2>=0.4.0 +mock>=1.0.1 From e6ffa0e271b0dde9f66395ed521e58848ab5eb8a Mon Sep 17 00:00:00 2001 From: John Evans Date: Thu, 19 Sep 2013 16:38:53 -0400 Subject: [PATCH 2/2] Renamed to travis-requirements so as to not be confused with readthedocs. #120 --- .travis.yml | 2 +- requirements.txt => travis-requirements.txt | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename requirements.txt => travis-requirements.txt (100%) diff --git a/.travis.yml b/.travis.yml index f4fc733..4898e65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: - sudo apt-get install -qq python3-numpy # command to install dependencies -install: "pip install -r requirements.txt --use-mirrors" +install: "pip install -r travis-requirements.txt --use-mirrors" # command to run tests script: "python -m unittest discover" diff --git a/requirements.txt b/travis-requirements.txt similarity index 100% rename from requirements.txt rename to travis-requirements.txt