github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/.travis.yml (about) 1 dist: trusty 2 language: go 3 go: 4 - 1.8 5 sudo: required 6 go_import_path: github.com/mit-dci/lit 7 cache: 8 directories: 9 - bitcoin-0.15.0 10 - litecoin-0.14.2 11 before_install: 12 - go get github.com/mattn/goveralls 13 install: 14 - sudo apt-get update 15 - sudo apt-get install python3 python3-pip build-essential libgtk-3-dev 16 # Download bitcoind and add it to the path 17 - ls bitcoin-0.15.0/bin/bitcoind || (wget https://bitcoincore.org/bin/bitcoin-core-0.15.0/bitcoin-0.15.0-x86_64-linux-gnu.tar.gz && tar xvf bitcoin-0.15.0-x86_64-linux-gnu.tar.gz) 18 - PATH=$PATH:$PWD/bitcoin-0.15.0/bin 19 # Download litecoind and add it to the path 20 - ls litecoin-0.14.2/bin/litecoind || (wget https://download.litecoin.org/litecoin-0.14.2/linux/litecoin-0.14.2-x86_64-linux-gnu.tar.gz && tar xvf litecoin-0.14.2-x86_64-linux-gnu.tar.gz) 21 - PATH=$PATH:$PWD/litecoin-0.14.2/bin 22 - sudo pip3 install --upgrade pip 23 - sudo pip3 install requests 24 - sudo pip3 install websocket-client 25 script: 26 - go get -v ./... 27 - go test ./... 28 - go build 29 - test/test_basic.py -c reg --dumplogs 30 - # test/test_basic.py -c ltr --dumplogs # litecoin currently broken. Disable test 31 - test/test_break.py -c reg --dumplogs 32 - $GOPATH/bin/goveralls -service=travis-ci 33 - # test/test_break.py -c ltr --dumplogs # litecoin currently broken. Disable test