Bastien Sevajol 7 years ago
parent
commit
fb11ea54d6
4 changed files with 26 additions and 12 deletions
  1. 8 0
      .coveragerc
  2. 12 0
      .travis.yml
  3. 0 11
      requirements-p34.txt
  4. 6 1
      requirements.txt

+ 8 - 0
.coveragerc View File

@@ -0,0 +1,8 @@
1
+[run]
2
+omit =
3
+    */tests*
4
+    *site-packages/*
5
+[report]
6
+exclude_lines =
7
+    raise NotImplementedError
8
+if __name__ == .__main__.:

+ 12 - 0
.travis.yml View File

@@ -0,0 +1,12 @@
1
+language: python
2
+python:
3
+  - "3.4"
4
+  - "3.5"
5
+  - "3.6"
6
+install:
7
+  - "pip install -r requirements.txt"
8
+  - "pip install coveralls"
9
+script:
10
+  - py.test --cov-config .coveragerc --cov=synergine2 ./tests/
11
+after_success:
12
+  - coveralls

+ 0 - 11
requirements-p34.txt View File

@@ -1,11 +0,0 @@
1
-appdirs==1.4.2
2
-cocos2d==0.6.4
3
-packaging==16.8
4
-py==1.4.31
5
-pyglet==1.2.4
6
-pymlconf==0.7.0
7
-pyparsing==2.1.10
8
-pytest==3.0.4
9
-PyYAML==3.12
10
-six==1.10.0
11
-typing==3.6.1

+ 6 - 1
requirements.txt View File

@@ -1,11 +1,16 @@
1
+apipkg==1.4
1 2
 appdirs==1.4.2
2 3
 cocos2d==0.6.4
4
+coverage==4.4.1
5
+execnet==1.4.1
3 6
 packaging==16.8
4
-pkg-resources==0.0.0
5 7
 py==1.4.31
6 8
 pyglet==1.2.4
7 9
 pymlconf==0.7.0
8 10
 pyparsing==2.1.10
9 11
 pytest==3.0.4
12
+pytest-cov==2.5.1
13
+pytest-xdist==1.16.0
10 14
 PyYAML==3.12
11 15
 six==1.10.0
16
+typing==3.6.1