Browse Source

Correct allow_failures for Travis

Django 1.8 supports Python 3.5. It does raise a DeprecationWarning,
which is safe to ignore. We only care about DeprecationWarnings in our
own code.

And it seems that Travis wants all allowed failures listed explicitly,
so we do that. It should now pass again.
master
Maik Hoepfel 10 years ago
parent
commit
0bf2e0ae90
2 changed files with 12 additions and 8 deletions
  1. 11
    7
      .travis.yml
  2. 1
    1
      runtests.py

+ 11
- 7
.travis.yml View File

@@ -40,16 +40,20 @@ env:
40 40
 matrix:
41 41
     exclude:
42 42
         - python: 3.2
43
-          env: DJANGO=Django==1.9b1
43
+          env: "DJANGO=Django==1.9b1"
44 44
         - python: 3.3
45
-          env: DJANGO=Django==1.9b1
45
+          env: "DJANGO=Django==1.9b1"
46 46
         - python: 3.5
47
-          env: DJANGO=Django==1.7.10
48
-
47
+          env: "DJANGO=Django==1.7.10"
49 48
     allow_failures:
50
-      - env: DJANGO=Django==1.9b1
51
-      - python: 3.5
52
-        env: DJANGO=Django==1.8.5
49
+        - python: 2.7
50
+          env: "DJANGO=Django==1.9b1"
51
+        - python: 3.3
52
+          env: "DJANGO=Django==1.9b1"
53
+        - python: 3.4
54
+          env: "DJANGO=Django==1.9b1"
55
+        - python: 3.5
56
+          env: "DJANGO=Django==1.9b1"
53 57
 
54 58
 
55 59
 before_install:

+ 1
- 1
runtests.py View File

@@ -77,7 +77,7 @@ if __name__ == '__main__':
77 77
         # thread safe. Behaviour with multiple threads is undefined.
78 78
         warnings.filterwarnings('error', category=DeprecationWarning)
79 79
         warnings.filterwarnings('error', category=RuntimeWarning)
80
-        libs = r'(sorl\.thumbnail.*|bs4.*|webtest.*)'
80
+        libs = r'(sorl\.thumbnail.*|bs4.*|webtest.*|inspect.*)'
81 81
         warnings.filterwarnings(
82 82
             'ignore', r'.*', DeprecationWarning, libs)
83 83
 

Loading…
Cancel
Save