From f1fb2bb9e529493121965e19af87d07c1e35d2b0 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 9 Jun 2018 20:25:40 -0600
Subject: [PATCH] Attempt to fix rust install

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01c8e7bad..a5b8794df 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
-- 
GitLab