From 5fb827c61e7c14113f0b21453d225ba2d6705842 Mon Sep 17 00:00:00 2001 From: John Evans Date: Thu, 19 Sep 2013 16:27:19 -0400 Subject: [PATCH] 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