Fix public Send test on CI, install missing OpenSSL dependency

This commit is contained in:
timvisee 2019-03-10 23:51:16 +01:00
parent 8cb9f3b6b1
commit 941ee52ab5
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -129,10 +129,12 @@ test-public:
variables:
GIT_STRATEGY: none
RUST_TARGET: x86_64-unknown-linux-musl
before_script: []
before_script:
- apt-get update
- apt-get install -y openssl
script:
# Generate random file, upload/download and assert equality
- "head -c2k </dev/urandom >test.txt"
- "head -c8m </dev/urandom >test.txt"
- "./ffsend-$RUST_TARGET upload test.txt -d2 -I"
- "./ffsend-$RUST_TARGET download $(./ffsend-$RUST_TARGET history -q) -I -o=download.txt"
- "./ffsend-$RUST_TARGET delete $(./ffsend-$RUST_TARGET history -q) -I"