From 15218db58a97b514422692143e92c907cfcdc8ea Mon Sep 17 00:00:00 2001 From: Uladzislau Muraveika Date: Tue, 13 Aug 2024 19:27:33 +0300 Subject: [PATCH] fix: point travis to the 1.22 golang tests --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f58faf9e5..ce06fd7dfa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,8 @@ cache: env: - TEST="make" - TEST="bash ./scripts/travis_go_checker.sh" - - TEST="bash ./scripts/travis_rpc_checker.sh" - - TEST="bash ./scripts/travis_rosetta_checker.sh" + - TEST="bash TEST_REPO_BRANCH='feat_1.22_update' ./scripts/travis_rpc_checker.sh" + - TEST="bash TEST_REPO_BRANCh='feat_1.22_update' ./scripts/travis_rosetta_checker.sh" # upgrade docker to latest stable version before_install: @@ -24,10 +24,12 @@ install: # /home/travis/gopath/src/github.com/harmony-one/harmony # https://docs.travis-ci.com/user/languages/go/#go-import-path - echo $TRAVIS_PULL_REQUEST_BRANCH - - TEST_REPO_BRANCH="master" + #TODO: return back to master + - TEST_REPO_BRANCH="feat_1.22_update" - git clone https://github.com/harmony-one/mcl.git $GOPATH/src/github.com/harmony-one/mcl - git clone https://github.com/harmony-one/bls.git $GOPATH/src/github.com/harmony-one/bls - - git clone --branch $TEST_REPO_BRANCH https://github.com/harmony-one/harmony-test.git $GOPATH/src/github.com/harmony-one/harmony-test + #TODO: return back harmony instead of personal fork + - git clone --branch $TEST_REPO_BRANCH https://github.com/mur-me/harmony-test.git $GOPATH/src/github.com/harmony-one/harmony-test - (cd $GOPATH/src/github.com/harmony-one/mcl; make -j4) - (cd $GOPATH/src/github.com/harmony-one/bls; make BLS_SWAP_G=1 -j4) # - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.41.1