From 9a5927fb2ecd2e5b3e0ff0392645cec100d76811 Mon Sep 17 00:00:00 2001
From: "Kurt A. O'Hearn" <ohearnk@msu.edu>
Date: Fri, 1 Mar 2019 17:43:13 -0500
Subject: [PATCH] Update .gitlab-ci.yml.

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01544d1a..62aa4f5b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,10 +3,6 @@ variables:
   GIT_STRATEGY: clone
   APPLICATION: PuReMD
 
-before_script:
-  - echo "[INFO] Starting..."
-  - apt-get update -qq && apt-get install -y -qq autoconf automake libtool gcc
-
 stages:
   - build
   - test
@@ -14,10 +10,16 @@ stages:
 compile:
   stage: build
   artifacts:
-    name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
-    expire_in: 1 week
+    name: "${CI_JOB_STAGE}_${CI_COMMIT_REF_NAME}"
+    paths: 
+      - sPuReMD/bin
+      - sPuReMD/lib
+  before_script:
+    - apt-get update -qq && apt-get install -y -qq autoconf automake libtool gcc
   script:
+    - echo "[INFO] Building..."
     - autoreconf -ivf && ./configure && make
+    - echo "[INFO] Done building"
 
 run:
   stage: test
-- 
GitLab