From 03882242c31aa6c9e02949d3a6acf00d7d644599 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Mon, 25 Feb 2019 07:51:14 +0100
Subject: [PATCH] [data][gitlab-ci] New nightlies base CI instructions

---
 bob/devtools/data/gitlab-ci/nightlies.yaml | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 bob/devtools/data/gitlab-ci/nightlies.yaml

diff --git a/bob/devtools/data/gitlab-ci/nightlies.yaml b/bob/devtools/data/gitlab-ci/nightlies.yaml
new file mode 100644
index 00000000..1309dfdb
--- /dev/null
+++ b/bob/devtools/data/gitlab-ci/nightlies.yaml
@@ -0,0 +1,35 @@
+# This YAML file contains descriptions for the CI of nightly builds of Bob and
+# BEAT.
+
+stages:
+  - build
+
+.build_template:
+  variables:
+    CONDA_ROOT: "${CI_PROJECT_DIR}/miniconda"
+    PYTHON_VERSION: "3.6"
+    PYTHONUNBUFFERED: 1
+  stage: build
+    script:
+    - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
+    - python3 bootstrap.py -vv channel base
+    - source ${CONDA_ROOT}/etc/profile.d/conda.sh
+    - conda activate base
+    - bdt ci nightlies -vv order.txt
+    - bdt ci clean -vv
+  cache:
+    key: "$CI_JOB_NAME"
+    paths:
+      - miniconda.sh
+      - ${CONDA_ROOT}/pkgs/*.tar.bz2
+      - ${CONDA_ROOT}/pkgs/urls.txt
+
+linux:
+  extends: .build_template
+  tags:
+    - docker
+
+macosx:
+  extends: .build_template
+  tags:
+    - macosx
-- 
GitLab