File tree Expand file tree Collapse file tree 4 files changed +58
-1
lines changed Expand file tree Collapse file tree 4 files changed +58
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ engines :
3
+ fixme :
4
+ enabled : true
5
+ pep8 :
6
+ enabled : true
7
+ radon :
8
+ enabled : true
9
+ ratings :
10
+ paths :
11
+ - " **.py"
12
+ exclude_paths :
13
+ - tests/**/*
Original file line number Diff line number Diff line change
1
+ sudo : false
2
+ notifications :
3
+ email : false
4
+ language : python
5
+ env :
6
+ - TOX_ENV=py27
7
+ - TOX_ENV=coveralls
8
+ install :
9
+ - pip install tox
10
+ script :
11
+ - tox -e $TOX_ENV
Original file line number Diff line number Diff line change 1
1
### G A L A X Y
2
2
3
- We are attempting to rebuild a computer game from the 80s, Galaxy, in Python.
3
+ [ ![ Build Status] ( https://travis-ci.org/matt-bernhardt/galaxy.svg )] ( https://travis-ci.org/matt-bernhardt/galaxy ) [ ![ Coverage Status] ( https://coveralls.io/repos/matt-bernhardt/galaxy/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/matt-bernhardt/galaxy?branch=master ) [ ![ Code Climate] ( https://codeclimate.com/github/matt-bernhardt/galaxy/badges/gpa.svg )] ( https://codeclimate.com/github/matt-bernhardt/galaxy )
4
+
5
+ We are attempting to rebuild a computer game from the 80s, Galaxy, in Python.
6
+
7
+ More information about this project is at [ http://matt-bernhardt.github.io/galaxy/ ] ( http://matt-bernhardt.github.io/galaxy/ ) .
8
+
9
+ [ The original game is preserved at the Internet Archive] ( https://archive.org/details/a2_Galaxy_1981_Avalon_Hill )
Original file line number Diff line number Diff line change
1
+ [tox]
2
+ envlist = py27,clean,coverage
3
+ skipsdist = True
4
+
5
+ [testenv]
6
+ commands = py.test {posargs:--tb =short}
7
+ deps =
8
+ unittest
9
+
10
+ [testenv:clean]
11
+ commands = coverage erase
12
+ deps = coverage
13
+
14
+ [testenv:coverage]
15
+ deps =
16
+ pytest-cov
17
+ {[testenv]deps}
18
+ commands = unittest --cov =galaxy {posargs}
19
+
20
+ [testenv:coveralls]
21
+ passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
22
+ deps =
23
+ coveralls
24
+ {[testenv:coverage]deps}
25
+ commands =
26
+ unittest --cov =galaxy
27
+ coveralls
You can’t perform that action at this time.
0 commit comments