From 71645b4e2405b263016de69e3967876b3242592e Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 14 Feb 2018 19:46:28 +0100 Subject: [PATCH] Minor fixes --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8473d8cbb..4299293ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,7 +83,7 @@ ubuntu18.04: # Stage "test" -run-tests-amd64: +run-tests: image: debian:9.3-slim stage: test script: @@ -133,12 +133,11 @@ docker-gnsssdr: stage: deploy services: - docker:dind - before_script: + script: - apt-get update - apt-get install -y git ca-certificates - git clone https://github.com/carlesfernandez/docker-gnsssdr - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" - script: - mkdir docker-build - cd docker-build - cp ../docker-gnsssdr/Dockerfile . @@ -152,7 +151,6 @@ run-experiment: stage: build script: - apt-get update - - apt-get upgrade -y # Grab analysis and representation tools - apt-get install -y octave texlive-latex-base texlive-fonts-recommended texlive-latex-extra epstool transfig octave # Grab the data set @@ -164,7 +162,7 @@ run-experiment: - md5sum -c data.md5 - cd .. # Execute the experiment (example) - - echo " x = 0:0.01:3; hf = figure (\"visible\", \"off\"); plot (x, erf (x)); hold on; plot (x, x, \"r\"); axis ([0, 3, 0, 1]); text (0.65, 0.6175, ['$\displaystyle\leftarrow x = {2\over\sqrt{\pi}}' '\int_{0}^{x}e^{-t^2} dt = 0.6175$']); xlabel (\"x\"); ylabel (\"erf (x)\"); title (\"erf (x) with text annotation\"); print (hf, \"results.eps\", \"-deps\"); " > my_test_file.m + - echo " x = 0:0.01:3; hf = figure (\"visible\", \"off\"); plot (x, erf (x)); hold on; plot (x, x, \"r\"); axis ([0, 3, 0, 1]); text (0.65, 0.6175, ['$\leftarrow x = {frac{2}{\sqrt{\pi}}} \int_{0}^{x}e^{-t^2} dt = 0.6175$']); xlabel (\"x\"); ylabel (\"erf (x)\"); title (\"erf (x) with text annotation\"); print (hf, \"results.eps\", \"-depsc\"); " > my_test_file.m - octave --no-gui my_test_file.m - epspdf results.eps results.pdf - mkdir results