From 8e17bb1ac2e788adccd8073a12c5a27e7b553057 Mon Sep 17 00:00:00 2001
From: Alexander Pace <alexander.pace@ligo.org>
Date: Mon, 14 Oct 2019 19:20:36 -0500
Subject: [PATCH] Update .gitlab-ci.yml: patch gstlal_inpiral, install tzdata

---
 .gitlab-ci.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f756d3de0..f88e828d52 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,6 +67,7 @@ stages:
   only:
     - schedules
     - tags
+    - pushes
     - web
   allow_failure: true
 
@@ -279,6 +280,7 @@ test:gstlal:
     - python -m pytest -v --doctest-modules --ignore gst/python --ignore port-tools --ignore tests --ignore share --ignore python/misc.py --ignore python/pipeparts/__init__.py --ignore python/matplotlibhelper.py --ignore python/dagfile.py --ignore python/httpinterface.py
   only:
     - schedules
+    - pushes
 
 test:gstlal-inspiral:
   image: containers.ligo.org/alexander.pace/gstlal-dev/gstlal-dev:el7
@@ -300,6 +302,7 @@ test:gstlal-inspiral:
     - python -m pytest -v --doctest-modules --ignore gst/python --ignore tests --ignore python/lloidplots.py --ignore python/llweb.py --ignore python/plotsegments.py --ignore python/plotsensitivity.py --ignore python/snglinspiraltable.py --ignore python/spawaveform.py --ignore python/spiirparts.py --ignore python/imr_utils.py --ignore python/stats/inspiral_extrinsics.py --ignore python/templates.py --ignore python/inspiral_pipe.py --ignore python/plotsnr.py --ignore python/p_astro_gstlal.py
   only:
     - schedules
+    - pushes
   allow_failure: true
 
 test:gstlal-burst:
@@ -322,6 +325,7 @@ test:gstlal-burst:
     - python -m pytest -v --doctest-modules --ignore python/excesspower --ignore python/string --ignore tests/trigger_test_01.py
   only:
     - schedules
+    - pushes
   allow_failure: true
 
 test:offline:
@@ -353,7 +357,7 @@ test:offline:
     - cd gstlal-inspiral/tests
 
     # Patch gstlal_inspiral to disable servicediscovery/avahi:
-    #- patch ${GSTLAL_DIR}/bin/gstlal_inspiral ./disable_service_discovery.patch
+    - patch /usr/bin/gstlal_inspiral ./disable_service_discovery.patch
 
     # Run the makefile:
     - make -f Makefile.offline_tutorial_test
@@ -369,6 +373,7 @@ test:offline:
     when: always
   only:
     - schedules
+    - pushes
   allow_failure: true
   
 pages:
@@ -380,7 +385,7 @@ pages:
     - gst-inspect-1.0
     - export GSTLAL_FIR_WHITEN=0
 
-    - yum -y install python2-pip texlive* graphviz python-matplotlib
+    - yum -y install python2-pip texlive* graphviz python-matplotlib tzdata
     - pip install setuptools sphinx==1.7 sphinx_rtd_theme
     - cd doc; make html
     - cd ..; cp -rf doc/_build/* public/
-- 
GitLab