# SPDX-License-Identifier: GPL-2.0+
# Grab our configured image. The source for this is found at:
-# https://gitlab.denx.de/u-boot/gitlab-ci-runner
-image: trini/u-boot-gitlab-ci-runner:bionic-20200526-18Jun2020
+# https://source.denx.de/u-boot/gitlab-ci-runner
+image: trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020
# We run some tests in different order, to catch some failures quicker.
stages:
stage: test.py
before_script:
# Clone uboot-test-hooks
- - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks
+ - git clone --depth=1 https://source.denx.de/u-boot/u-boot-test-hooks /tmp/uboot-test-hooks
- ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`
- ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
- grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
tags: [ 'all' ]
stage: testsuites
script:
+ - virtualenv -p /usr/bin/python3 /tmp/venvhtml
+ - . /tmp/venvhtml/bin/activate
+ - pip install -r doc/sphinx/requirements.txt
- make htmldocs
# some statistics about the code base
export USER=gitlab;
virtualenv -p /usr/bin/python3 /tmp/venv;
. /tmp/venv/bin/activate;
- pip install pyelftools pytest;
+ pip install pyelftools pytest pygit2;
export UBOOT_TRAVIS_BUILD_DIR=/tmp/sandbox_spl;
export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";
export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}";
- ./tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w sandbox_spl;
+ ./tools/buildman/buildman -T0 -o ${UBOOT_TRAVIS_BUILD_DIR} -w sandbox_spl;
./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test;
./tools/buildman/buildman -t;
./tools/dtoc/dtoc -t;
tags: [ 'all' ]
variables:
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"
<<: *buildman_and_testpy_dfn
evb-ast2500 test.py:
TEST_PY_TEST_SPEC: "not sleep"
<<: *buildman_and_testpy_dfn
+r2dplus_i82557c test.py:
+ tags: [ 'all' ]
+ variables:
+ TEST_PY_BD: "r2dplus"
+ TEST_PY_ID: "--id i82557c_qemu"
+ <<: *buildman_and_testpy_dfn
+
+r2dplus_pcnet test.py:
+ tags: [ 'all' ]
+ variables:
+ TEST_PY_BD: "r2dplus"
+ TEST_PY_ID: "--id pcnet_qemu"
+ <<: *buildman_and_testpy_dfn
+
+r2dplus_rtl8139 test.py:
+ tags: [ 'all' ]
+ variables:
+ TEST_PY_BD: "r2dplus"
+ TEST_PY_ID: "--id rtl8139_qemu"
+ <<: *buildman_and_testpy_dfn
+
+r2dplus_tulip test.py:
+ tags: [ 'all' ]
+ variables:
+ TEST_PY_BD: "r2dplus"
+ TEST_PY_ID: "--id tulip_qemu"
+ <<: *buildman_and_testpy_dfn
+
xilinx_zynq_virt test.py:
tags: [ 'all' ]
variables: