Since Python 2.7 is EOL already. SBL needs to drop the support.
This patch switched to use python version 3.6 or above for SBL
build. If lower version is used, warning message will be printed
out.
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
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>