Problem: Travis CI fails

When trying to run Parity in integration tests, the following
error stops it:

```
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by parity)
```

Solution: use Snap to install Parity to attempt to avoid this problem
This commit is contained in:
Yurii Rashkovskii 2018-06-15 15:07:42 -07:00
parent 903c4c55bf
commit d7b0f6d0ce
No known key found for this signature in database
GPG Key ID: 1D60D7CFD80845FF
1 changed files with 3 additions and 4 deletions

View File

@ -14,10 +14,9 @@ matrix:
- sudo add-apt-repository ppa:ethereum/ethereum -y
- sudo apt-get update -y
- sudo apt-get install solc libudev-dev libstdc++6 -y
- wget https://parity-downloads-mirror.parity.io/v1.10.6/x86_64-unknown-linux-gnu/parity
- chmod +x parity
- cp parity ${HOME}/bin
- export PATH=${HOME}/bin:${PATH}
- sudo apt-get --yes install snapd
- sudo snap install parity --stable
- export PATH=/snap/bin:${PATH}
script:
- cd bridge && env BACKTRACE=1 && cargo test && cd ..
- cd integration-tests && env BACKTRACE=1 cargo test -- --test-threads=1 --nocapture && cd ..