From b923bdf1745e29553de3a9be9ca502421fb89a07 Mon Sep 17 00:00:00 2001 From: Michael Vandeberg Date: Tue, 25 Jun 2024 10:39:17 -0600 Subject: [PATCH] Remove docker repo and add tread sanitizer fix --- .travis.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c0112a8..33766acb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,7 @@ jobs: - CC=clang - CXX=clang++ before_script: + - sudo sysctl vm.mmap_rnd_bits=28 # https://stackoverflow.com/questions/77850769/fatal-threadsanitizer-unexpected-memory-mapping-when-running-on-linux-kernels - mkdir build-address - pushd build-address - cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZER=Address .. @@ -119,20 +120,7 @@ jobs: env: - TAG=`if [ $TRAVIS_BRANCH == "master" ]; then echo -n latest; else echo -n $TRAVIS_BRANCH; fi` - CHAIN_TAG=$TAG - before_install: - - sudo systemctl stop docker.service && sudo systemctl stop docker.socket - - sudo apt-get install ca-certificates curl - - sudo install -m 0755 -d /etc/apt/keyrings - - sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc - - sudo chmod a+r /etc/apt/keyrings/docker.asc - - | - echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - - sudo apt-get update install: - - sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - git clone https://github.com/koinos/koinos-integration-tests.git - pushd koinos-integration-tests - go get ./...