Skip to content

Commit

Permalink
fix: point travis to the 1.22 golang tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mur-me committed Aug 13, 2024
1 parent ebda96d commit 15218db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 15218db

Please sign in to comment.