Skip to content

Commit

Permalink
ci: Ubuntu Bionic job definitions removed from Travis yml
Browse files Browse the repository at this point in the history
This commit removes all Bionic jobs / tasks definitions from .travis.yml CI job file
All Windows prepare/build tasks have been moved to Focal
Addedd Focal "fetch-parameters" test
  • Loading branch information
a-petrini committed May 23, 2023
1 parent 3631873 commit 6463dbb
Showing 1 changed file with 28 additions and 93 deletions.
121 changes: 28 additions & 93 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@ language: shell
os: linux

.com.github.horizenofficial.zen.env-definitions:
- &docker_amd64_linux_ubuntu_bionic
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- &docker_amd64_linux_ubuntu_bionic_legacy_cpu
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- MAKEFLAGS="--legacy-cpu"
- &docker_amd64_linux_ubuntu_jammy
env:
- DOCKER_ARCH=amd64
Expand All @@ -30,72 +17,32 @@ os: linux
- DOCKER_FROM=ubuntu_jammy
- DOCKER_IS_DEB=true
- MAKEFLAGS="--legacy-cpu"
- &docker_amd64_windows_ubuntu_bionic
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=windows
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- &docker_amd64_windows_ubuntu_bionic_legacy_cpu
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=windows
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- MAKEFLAGS="--legacy-cpu"
- &docker_amd64_linux_ubuntu_focal
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- &docker_amd64_linux_ubuntu_bionic_unit-tests
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="btest gtest sec-hard no-dot-so util-test secp256k1 libsnark univalue"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_1
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:1"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_2
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:2"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_3
- &docker_amd64_linux_ubuntu_focal_legacy_cpu
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:3"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_4
- MAKEFLAGS="--legacy-cpu"
- &docker_amd64_windows_ubuntu_focal
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_TARGET_OS=windows
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:4"
- &docker_amd64_linux_ubuntu_bionic_test-fetch-params
- &docker_amd64_windows_ubuntu_focal_legacy_cpu
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_TARGET_OS=windows
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zen/test-fetch-params.sh"
- MAKEFLAGS="--legacy-cpu"
- &docker_amd64_linux_ubuntu_jammy_unit-tests
env:
- DOCKER_ARCH=amd64
Expand Down Expand Up @@ -216,6 +163,15 @@ os: linux
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:4"
- &docker_amd64_linux_ubuntu_focal_test-fetch-params
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zen/test-fetch-params.sh"


- &amd64_osx_xcode12_3_unit-tests
env:
- TEST_CMD="./qa/zcash/full_test_suite.py"
Expand Down Expand Up @@ -353,9 +309,6 @@ install:
jobs:
include:
# build and push docker build/test dependency images
- stage: Prepare
<<: *prepare_docker_amd64
<<: *docker_amd64_linux_ubuntu_bionic
- stage: Prepare
<<: *prepare_docker_amd64
<<: *docker_amd64_linux_ubuntu_jammy
Expand All @@ -364,7 +317,7 @@ jobs:
<<: *docker_amd64_linux_ubuntu_focal
- stage: Prepare
<<: *prepare_docker_amd64
<<: *docker_amd64_windows_ubuntu_bionic
<<: *docker_amd64_windows_ubuntu_focal

# check that needed build tools are available
- stage: Prepare
Expand All @@ -376,12 +329,6 @@ jobs:
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/prepare/check_apple_deps.sh"

# Docker based builds
- stage: Build
<<: *build_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic
- stage: Build
<<: *build_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_legacy_cpu
- stage: Build
<<: *build_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_jammy
Expand All @@ -393,10 +340,13 @@ jobs:
<<: *docker_amd64_linux_ubuntu_focal
- stage: Build
<<: *build_docker_amd64_x-large
<<: *docker_amd64_windows_ubuntu_bionic
<<: *docker_amd64_linux_ubuntu_focal_legacy_cpu
- stage: Build
<<: *build_docker_amd64_x-large
<<: *docker_amd64_windows_ubuntu_focal
- stage: Build
<<: *build_docker_amd64_x-large
<<: *docker_amd64_windows_ubuntu_bionic_legacy_cpu
<<: *docker_amd64_windows_ubuntu_focal_legacy_cpu
# osx build
- stage: Build
if: NOT env(SKIP_OSX) OR tag IS present
Expand All @@ -417,24 +367,6 @@ jobs:
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/build/build_${TRAVIS_CPU_ARCH}_${TRAVIS_OS_NAME}_${TRAVIS_OSX_IMAGE}.sh"
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/push_archive.sh ${B2_UL_COMPRESS_FOLDER} ${B2_UL_FILENAME}"
# Docker based tests
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_unit-tests
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_1
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_2
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_3
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_4
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_bionic_test-fetch-params
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_jammy_unit-tests
Expand Down Expand Up @@ -477,6 +409,9 @@ jobs:
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_focal_rpc-tests_4
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_focal_test-fetch-params
# osx based tests
- stage: Test
<<: *test_osx_xcode12_3
Expand Down

0 comments on commit 6463dbb

Please sign in to comment.