Commit Graph

14 Commits

Author SHA1 Message Date
Chris PeBenito
7330b7894a sediff: add skeleton.
Implement the CLI parser and diff creation.
2015-12-18 11:21:13 -05:00
Chris PeBenito
070eb683f7 tox.ini: restore recreate option
Ensure a consistent virtualenv.
2015-12-17 11:08:35 -05:00
Chris PeBenito
0ad3155ac0 Build C extension for lint tox target.
Fix pylint import issues on TravisCI.
2015-12-02 12:44:45 -05:00
Chris PeBenito
8ab5498ba7 Misc fixes for pylint 1.5. 2015-12-01 09:38:08 -05:00
Chris PeBenito
b619166ba0 Initial apol commit. 2015-06-03 13:33:11 -04:00
Chris PeBenito
20ee139f3b SELinuxPolicy: add support for finding the policy to load.
Restore legacy CLI tool behavior for not having to specify a policy to load
2015-05-08 15:21:00 -04:00
Chris PeBenito
f817fe2c56 Fix tox lint target on CI. 2015-04-06 10:58:42 -04:00
Chris PeBenito
ffd32d38f8 Add lint to CI. Step back to single coverage test, on Python 3.3.
I decided kamino's original single-coverage tox.ini was better.
2015-04-06 10:07:22 -04:00
Chris PeBenito
695081fcc0 Add pylint configuration. 2015-04-06 09:38:58 -04:00
Chris PeBenito
86bf7f75c1 Drop recreate in tox.ini
Not necessary for CI testing, as the environment is always completely
recreated.  Developers can add '-r' to their command lines to recreate
the environments when needed.  The CI testing should catch issues if
something works locally only due to an environment anomaly.
2015-03-07 09:48:22 -05:00
Chris PeBenito
2d4b8869b2 Word around bug with the tox deps handling.
It fails using {[testenv]deps}, when it hits "py27: mock".
2015-02-16 16:55:08 -05:00
Chris PeBenito
ceb6736962 Implement included/excluded classes/permissions in PermissionMap.
closes #24
2015-02-16 16:31:18 -05:00
Fernand Lone-Sang
9bbbf40230 modified initial config for travis-ci
The following has been removed:

- HTML report, as it is not used at all and may require to define more
  environment

The following has been added:

- py27, py33, py34 specific coverage reports

NOTES:

- It is possible to use environment generators (http://tox.readthedocs.org/en/latest/config.html#generating-environments-conditional-settings)
  but this will make the implicit mode run more modes by default.
- As referenced at https://bitbucket.org/hpk42/tox/issue/120/substitution-breaks-for-commands,
  substitution for commands does not work yet. If substitution for commands is
  implemented someday, the tox.ini file would be simpler.
2015-02-16 11:13:29 +01:00
Fernand Lone-Sang
ba1869f658 add tox configuration file
From the project webpage:

"""
Tox is a generic virtualenv management and test command line tool you can use
for:

- checking your package installs correctly with different Python versions and
  interpreters
- running your tests in each of the environments, configuring your test tool of
  choice
- acting as a frontend to Continuous Integration servers, greatly reducing
  boilerplate and merging CI and shell-based testing.
"""
2015-02-16 09:43:21 +01:00