瀏覽代碼

Manage requirements in requirements.txt

Matthew Wang 8 年之前
父節點
當前提交
1b325c13de
共有 2 個檔案被更改,包括 6 行新增6 行删除
  1. 2
    6
      .travis.yml
  2. 4
    0
      requirements.txt

+ 2
- 6
.travis.yml 查看文件

@@ -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 查看文件

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