From 828dc08763bfe65cd9ce363cba14f5edfef07cfb Mon Sep 17 00:00:00 2001 From: enkore Date: Fri, 17 Oct 2014 12:23:02 +0200 Subject: [PATCH] Rename requirements.txt to dev-...txt to clarify that these are NOT core dependencies. (Installing packaged sphinx should speed up CI builds significantly and pip should figure out it doesn't need to install it.) --- .travis.yml | 5 +++-- requirements.txt => dev-requirements.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename requirements.txt => dev-requirements.txt (79%) diff --git a/.travis.yml b/.travis.yml index 6c02fd7..9ec8b61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,10 @@ language: python python: - "3.3" install: - - "pip install -r requirements.txt" + - "sudo apt-get install python3-sphinx" + - "pip install -r dev-requirements.txt" script: - "pep8 --ignore E501 i3pystatus tests" - "PYTHONPATH=. py.test" # run unit tests - "python setup.py install" # test install - - "sphinx-build -W docs html" # test building docs + - "sphinx-build -W docs html" # test building docs diff --git a/requirements.txt b/dev-requirements.txt similarity index 79% rename from requirements.txt rename to dev-requirements.txt index 18de096..787a5c5 100644 --- a/requirements.txt +++ b/dev-requirements.txt @@ -1,5 +1,5 @@ pytest>=2.5 -sphinx>=1.2 +sphinx>=1.1 colour>=0.0.5 mock>=1.0 pep8>=1.5