- build-essential
- libsdl2-dev
- python
- - python-pyelftools
- python3-sphinx
- python3-virtualenv
- python3-pip
+ - python3-pygit2
- swig
- libpython-dev
- iasl
- sbsigntool
- fakeroot
- mtd-utils
+ - squashfs-tools
install:
# Clone uboot-test-hooks
if [[ -n "${TEST_PY_TOOLS}" ]]; then
export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";
export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}";
+ pip install pyelftools &&
./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test &&
./tools/patman/patman test &&
./tools/buildman/buildman -t &&
- name: "test/py sandbox_spl"
env:
- TEST_PY_BD="sandbox_spl"
- TEST_PY_TEST_SPEC="test_ofplatdata or test_handoff"
+ TEST_PY_TEST_SPEC="test_ofplatdata or test_handoff or test_spl"
TOOLCHAIN="i386"
TEST_PY_TOOLS="yes"
- name: "test/py sandbox_flattree"
QEMU_TARGET="x86_64-softmmu"
TOOLCHAIN="i386"
BUILD_ROM="yes"
+ - name: "test/py r2dplus_i82557c"
+ env:
+ - TEST_PY_BD="r2dplus"
+ TEST_PY_ID="--id i82557c_qemu"
+ QEMU_TARGET="sh4-softmmu"
+ BUILDMAN="sh -x arm"
+ TOOLCHAIN="sh"
+ - name: "test/py r2dplus_pcnet"
+ env:
+ - TEST_PY_BD="r2dplus"
+ TEST_PY_ID="--id pcnet_qemu"
+ QEMU_TARGET="sh4-softmmu"
+ BUILDMAN="sh -x arm"
+ TOOLCHAIN="sh"
+ - name: "test/py r2dplus_rtl8139"
+ env:
+ - TEST_PY_BD="r2dplus"
+ TEST_PY_ID="--id rtl8139_qemu"
+ QEMU_TARGET="sh4-softmmu"
+ BUILDMAN="sh -x arm"
+ TOOLCHAIN="sh"
+ - name: "test/py r2dplus_tulip"
+ env:
+ - TEST_PY_BD="r2dplus"
+ TEST_PY_ID="--id tulip_qemu"
+ QEMU_TARGET="sh4-softmmu"
+ BUILDMAN="sh -x arm"
+ TOOLCHAIN="sh"
- name: "test/py xilinx_zynq_virt"
env:
- TEST_PY_BD="xilinx_zynq_virt"