From: Felix Ableitner Date: Fri, 11 Dec 2020 13:28:14 +0000 (+0100) Subject: build diesel cli in same step X-Git-Url: http://these/git/%22%7B%7D/%22?a=commitdiff_plain;h=7e7e27a7eb9b7284851c86ebc4e3b98a9958d93a;p=lemmy.git build diesel cli in same step --- diff --git a/.drone.yml b/.drone.yml index 0c76df7d..c9d0a100 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,6 +34,9 @@ steps: commands: - sudo apt-get update - sudo apt-get -y install --no-install-recommends espeak postgresql-client + - cargo install diesel_cli --no-default-features --features postgres --target-dir target/ + - ls -la target/ + - ./target/diesel migration run - cargo test --workspace --no-fail-fast - name: cargo build @@ -42,7 +45,7 @@ steps: - cargo build - name: run federation tests - image: node:15-alpine-3.12 + image: node:15-alpine3.12 commands: - apt-get update - apt-get -y install --no-install-recommends bash curl postgresql-client