瀏覽代碼

Fix public Send test on CI, install missing OpenSSL dependency

timvisee 6 年之前
父節點
當前提交
941ee52ab5
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      .gitlab-ci.yml

+ 4 - 2
.gitlab-ci.yml

@@ -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"