Browse Source

Merge branch 'travis-fix'

Matthew Wang 9 years ago
parent
commit
927820dd9c
2 changed files with 15 additions and 14 deletions
  1. 14
    13
      .travis.yml
  2. 1
    1
      Makefile

+ 14
- 13
.travis.yml View File

@@ -1,22 +1,23 @@
1 1
 language: python
2 2
 
3 3
 python:
4
-    - "2.6"
5
-    - "2.7"
6
-    - "3.2"
7
-    - "3.3"
8
-    - "3.4"
9
-    - "pypy"
4
+  - "2.6"
5
+  - "2.7"
6
+  - "3.2"
7
+  - "3.3"
8
+  - "3.4"
9
+  - "pypy"
10 10
 
11 11
 before_install:
12
-    - pip --quiet install docutils
13
-    - pip --quiet install Pygments==1.6
14
-    - pip --quiet install coverage
15
-    - coverage --version
16
-    - sudo apt-get --quiet=2 install patchutils
12
+  - pip --quiet install docutils
13
+  - pip --quiet install Pygments==1.6
14
+  - pip --quiet install "coverage<4"
15
+  - coverage --version
16
+  - sudo apt-get update
17
+  - sudo apt-get --quiet=2 install patchutils
17 18
 
18 19
 install:
19
-    - python setup.py --quiet install
20
+  - python setup.py --quiet install
20 21
 
21 22
 script:
22
-    - make test
23
+  - make test

+ 1
- 1
Makefile View File

@@ -19,7 +19,7 @@ doc-preview:
19 19
 	sleep 1
20 20
 	rm -f output.html
21 21
 
22
-test: doc-check cov reg
22
+test: doc-check reg
23 23
 
24 24
 test3: doc-check cov3 reg3
25 25