summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Soller <jackpot51@gmail.com>2018-06-09 20:25:40 -0600
committerJeremy Soller <jackpot51@gmail.com>2018-06-09 20:25:40 -0600
commitf1fb2bb9e529493121965e19af87d07c1e35d2b0 (patch)
tree3799fb8286d03dfcfb5e8ca5f16073c95e334501
parentf5b09479bdef34bd2314fd3a78a029cc47d12e1e (diff)
Attempt to fix rust install
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01c8e7b..a5b8794 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,9 +31,7 @@ before_script:
apt-get update -qq &&
apt-get purge -qq binutils-doc &&
apt-get install -qq x86-64-unknown-redox-gcc &&
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none &&
- source "$HOME/.cargo/env" &&
- cargo install cargo-config xargo
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
build:
script:
@@ -45,4 +43,6 @@ build:
git checkout "$CI_BUILD_REF" &&
git submodule update --init --recursive &&
source "$HOME/.cargo/env" &&
+ rustup update &&
+ cargo install cargo-config xargo &&
make ci