diff --git a/.travis.yml b/.travis.yml index dc6a34b..ced7247 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,24 +7,24 @@ stages: env: global: - TEST_DIR=~/test_basicswap2/ - - PARTICL_BINDIR=/opt/binaries/particl-0.18.1.2/bin/ - - BITCOIN_BINDIR=/opt/binaries/bitcoin-0.18.0/bin/ + - PARTICL_BINDIR=/opt/binaries/particl-0.18.1.3/bin/ + - BITCOIN_BINDIR=/opt/binaries/bitcoin-0.18.1/bin/ - LITECOIN_BINDIR=/opt/binaries/litecoin-0.17.1/bin/ before_install: - sudo apt-get install -y wget gnupg2 before_script: - if [ ! -d "/opt/binaries" ]; then mkdir -p "/opt/binaries" ; fi - - if [ ! -d "$BITCOIN_BINDIR" ]; then cd "/opt/binaries" && wget https://bitcoincore.org/bin/bitcoin-core-0.18.0/bitcoin-0.18.0-x86_64-linux-gnu.tar.gz && tar xvf bitcoin-0.18.0-x86_64-linux-gnu.tar.gz ; fi + - if [ ! -d "$BITCOIN_BINDIR" ]; then cd "/opt/binaries" && wget https://bitcoincore.org/bin/bitcoin-core-0.18.1/bitcoin-0.18.1-x86_64-linux-gnu.tar.gz && tar xvf bitcoin-0.18.1-x86_64-linux-gnu.tar.gz ; fi - if [ ! -d "$LITECOIN_BINDIR" ]; then cd "/opt/binaries" && wget https://download.litecoin.org/litecoin-0.17.1/linux/litecoin-0.17.1-x86_64-linux-gnu.tar.gz && tar xvf litecoin-0.17.1-x86_64-linux-gnu.tar.gz ; fi - - if [ ! -d "$PARTICL_BINDIR" ]; then cd "/opt/binaries" && wget https://github.com/particl/particl-core/releases/download/v0.18.1.2/particl-0.18.1.2-x86_64-linux-gnu_nousb.tar.gz && tar xvf particl-0.18.1.2-x86_64-linux-gnu_nousb.tar.gz ; fi + - if [ ! -d "$PARTICL_BINDIR" ]; then cd "/opt/binaries" && wget https://github.com/particl/particl-core/releases/download/v0.18.1.3/particl-0.18.1.3-x86_64-linux-gnu_nousb.tar.gz && tar xvf particl-0.18.1.3-x86_64-linux-gnu_nousb.tar.gz ; fi script: - cd $TRAVIS_BUILD_DIR - - export PARTICL_BINDIR=/opt/binaries/particl-0.18.1.2/bin/ - - export BITCOIN_BINDIR=/opt/binaries/bitcoin-0.18.0/bin/ + - export PARTICL_BINDIR=/opt/binaries/particl-0.18.1.3/bin/ + - export BITCOIN_BINDIR=/opt/binaries/bitcoin-0.18.1/bin/ - export LITECOIN_BINDIR=/opt/binaries/litecoin-0.17.1/bin/ - export DATADIRS=~/test_basicswap2/ - mkdir -p ${DATADIRS}/bin/{particl,bitcoin} - - cp /opt/binaries/bitcoin-0.18.0-x86_64-linux-gnu.tar.gz ${DATADIRS}/bin/bitcoin + - cp /opt/binaries/bitcoin-0.18.1-x86_64-linux-gnu.tar.gz ${DATADIRS}/bin/bitcoin - python setup.py test after_success: - echo "End test" diff --git a/bin/basicswap_prepare.py b/bin/basicswap_prepare.py index 878943b..cbc2fc0 100644 --- a/bin/basicswap_prepare.py +++ b/bin/basicswap_prepare.py @@ -40,9 +40,9 @@ else: BIN_ARCH = 'x86_64-linux-gnu.tar.gz' known_coins = { - 'particl': '0.18.1.2', + 'particl': '0.18.1.3', 'litecoin': '0.17.1', - 'bitcoin': '0.18.0', + 'bitcoin': '0.18.1', 'namecoin': '0.18.0', } diff --git a/tests/basicswap/test_reload.py b/tests/basicswap/test_reload.py index 1645f10..2a8392c 100644 --- a/tests/basicswap/test_reload.py +++ b/tests/basicswap/test_reload.py @@ -9,8 +9,8 @@ export TEST_RELOAD_PATH=/tmp/test_basicswap mkdir -p ${TEST_RELOAD_PATH}/bin/{particl,bitcoin} -cp ~/tmp/particl-0.18.1.2-x86_64-linux-gnu.tar.gz ${TEST_RELOAD_PATH}/bin/particl -cp ~/tmp/bitcoin-0.18.0-x86_64-linux-gnu.tar.gz ${TEST_RELOAD_PATH}/bin/bitcoin +cp ~/tmp/particl-0.18.1.3-x86_64-linux-gnu.tar.gz ${TEST_RELOAD_PATH}/bin/particl +cp ~/tmp/bitcoin-0.18.1-x86_64-linux-gnu.tar.gz ${TEST_RELOAD_PATH}/bin/bitcoin """