Commit Graph

8 Commits

Author SHA1 Message Date
Maurice Ma 05f308d8a9 Switch to use Python 3.6 or above for build
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>
2020-01-09 11:26:04 -08:00
Aiden Park b24fd2759c Cosmetic: Convert LF to CRLF
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>
2019-12-02 16:21:19 -08:00
Aiden Park 210bd02c47 Fix invalid PatchCheck commit ranges in travis
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>
2019-11-08 03:31:35 +08:00
Aiden Park 5e8a18251b Enable PatchCheck in travis
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>
2019-11-07 05:57:31 +08:00
Maurice Ma 47bafebd7c Enable more build options in travis
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>
2019-08-23 11:31:37 -07:00
Aiden Park 6ef3add50a Enable cfl target on travis pre-commit checker
Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-06-11 16:56:04 -07:00
Matt Borgerson 9ee73898f9 travis: Build both QEMU and APL targets 2018-09-22 14:27:42 -07:00
Matt Borgerson bc470e02ec Add .travis.yml file to enable CI builds 2018-09-20 17:05:41 -07:00