This will fully support PatchCheck.py.
- Remove all trailing whitespace
- Convert LF to CRLF by default
- Update EFI_D_* to DEBUG_*
- Re-enable CRLF check in PatchCheck.py
Signed-off-by: Aiden Park <aiden.park@intel.com>
PatchCheck was using 'TRAVIS_COMMIT_RANGE' travis variable to get commit
range, but it lost tracks when doing force push or rebase. There are many
issue reports about this variable.
To avoid potential issue, let's get the range from git command directly
instead of TRAVIS_COMMIT_RANGE variable.
Signed-off-by: Aiden Park <aiden.park@intel.com>
This will run PatchCheck.py in travis before building a target.
If the format is invalid, travis will exit immediately.
Signed-off-by: Aiden Park <aiden.park@intel.com>
Current travis build only performs debug build with python 2.
This patch allows to test debug and release build, python2 and
python3 build.
Signed-off-by: Maurice Ma <maurice.ma@intel.com>