Browse Source

Manage requirements in requirements.txt

Matthew Wang 8 years ago
parent
commit
1b325c13de
2 changed files with 6 additions and 6 deletions
  1. 2
    6
      .travis.yml
  2. 4
    0
      requirements.txt

+ 2
- 6
.travis.yml View File

@@ -8,15 +8,11 @@ python:
8 8
   - "3.4"
9 9
   - "pypy"
10 10
 
11
-before_install:
12
-  - pip --quiet install docutils
13
-  - pip --quiet install Pygments==1.6
14
-  - pip --quiet install "coverage<4"
11
+install:
12
+  - pip install -r requirements.txt
15 13
   - coverage --version
16 14
   - sudo apt-get update
17 15
   - sudo apt-get --quiet=2 install patchutils
18
-
19
-install:
20 16
   - python setup.py --quiet install
21 17
 
22 18
 script:

+ 4
- 0
requirements.txt View File

@@ -0,0 +1,4 @@
1
+docutils
2
+pep8
3
+Pygments==1.6
4
+coverage<4