X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=.travis.yml;h=0810c6272a71f665c2e1ee3d8a38840425ab69f4;hb=ca6bd67119248d4ec54fd39b31e566f1e01b72b5;hp=42c381d370fcd28969f5e569707947fa1321c440;hpb=de56278767076c2edb00865d65b4d7495acb6d9e;p=functest.git diff --git a/.travis.yml b/.travis.yml index 42c381d37..0810c6272 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,10 @@ addons: - libssl1.0.0 before_script: - - sudo apt-get -y install qemu-user-static enchant + - sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - sudo add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get update - - sudo apt-get install python3.7 python3.7-dev + - sudo apt-get install python3.8 python3.8-dev python3.8-distutils enchant - sudo pip install tox - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}" - (cd .. && git clone https://github.com/estesp/manifest-tool) @@ -24,7 +24,7 @@ jobs: - stage: run unit tests script: > tox -e \ - docs,pep8,pylint,yamllint,ansiblelint,bashate,bandit,py27,py37,cover + docs,pep8,pylint,yamllint,ansiblelint,bashate,bandit,py27,py38,cover - stage: build functest-core images script: sudo -E bash build.sh env: @@ -163,9 +163,32 @@ jobs: - amd64_dirs="" - arm64_dirs="" - arm_dirs="docker/smoke-cntt" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="docker/benchmarking-cntt" + - arm64_dirs="" + - arm_dirs="" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="" + - arm64_dirs="docker/benchmarking-cntt" + - arm_dirs="" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="" + - arm64_dirs="" + - arm_dirs="docker/benchmarking-cntt" - stage: publish all cntt manifests script: > sudo manifest-tool push from-args \ --platforms linux/amd64,linux/arm,linux/arm64 \ --template ${DOCKER_USERNAME}/functest-smoke-cntt:ARCH-latest \ --target ${DOCKER_USERNAME}/functest-smoke-cntt:latest + - script: > + sudo manifest-tool push from-args \ + --platforms linux/amd64,linux/arm,linux/arm64 \ + --template ${DOCKER_USERNAME}/functest-benchmarking-cntt:ARCH-latest \ + --target ${DOCKER_USERNAME}/functest-benchmarking-cntt:latest