Skip to content

Commit

Permalink
travis: Make sure we always use the master pyln modules
Browse files Browse the repository at this point in the history
We want to catch upcoming incompatibilities early, even if a plugin lists an
old version.
  • Loading branch information
cdecker committed Aug 28, 2020
1 parent aaa49b3 commit 3b0d7a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ echo 'travis_fold:start:script.1'
pyenv global 3.7
pip3 install --quiet --upgrade pip
pip3 install --user --quiet \
pyln-testing \
mako==1.0.14 \
psycopg2-binary>=2.8.3 \
pytest-timeout==1.3.3 \
Expand All @@ -44,8 +43,6 @@ PY3=$(which python3)
echo 'travis_fold:start:script.2'
git clone --recursive https://github.com/ElementsProject/lightning.git /tmp/lightning
(cd /tmp/lightning && git checkout "$LIGHTNING_VERSION")
(cd /tmp/lightning/contrib/pyln-client && $PY3 setup.py install)
(cd /tmp/lightning/contrib/pyln-testing && $PY3 setup.py install)

# Compiling lightningd can be noisy and time-consuming, cache the binaries
if [ ! -f "$CWD/dependencies/usr/local/bin/lightningd" ]; then
Expand All @@ -60,6 +57,9 @@ echo 'travis_fold:end:script.2'
# Collect libraries that the plugins need and install them
echo 'travis_fold:start:script.3'
find . -name requirements.txt -exec pip3 install --quiet --upgrade --user -r {} \;

# Force the tests to use the latest and greatest version of pyln
pip install -U pyln-testing>=0.8.2 pyln-client>=0.8.2
echo 'travis_fold:end:script.3'

# Add the local bitcoind bin dir so we can start and control it:
Expand Down

0 comments on commit 3b0d7a0

Please sign in to comment.