1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 13:10:35 +00:00

Minor fixes

This commit is contained in:
Carles Fernandez 2018-02-14 19:46:28 +01:00
parent 27781d3c2b
commit 71645b4e24

View File

@ -83,7 +83,7 @@ ubuntu18.04:
# Stage "test" # Stage "test"
run-tests-amd64: run-tests:
image: debian:9.3-slim image: debian:9.3-slim
stage: test stage: test
script: script:
@ -133,12 +133,11 @@ docker-gnsssdr:
stage: deploy stage: deploy
services: services:
- docker:dind - docker:dind
before_script: script:
- apt-get update - apt-get update
- apt-get install -y git ca-certificates - apt-get install -y git ca-certificates
- git clone https://github.com/carlesfernandez/docker-gnsssdr - git clone https://github.com/carlesfernandez/docker-gnsssdr
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
script:
- mkdir docker-build - mkdir docker-build
- cd docker-build - cd docker-build
- cp ../docker-gnsssdr/Dockerfile . - cp ../docker-gnsssdr/Dockerfile .
@ -152,7 +151,6 @@ run-experiment:
stage: build stage: build
script: script:
- apt-get update - apt-get update
- apt-get upgrade -y
# Grab analysis and representation tools # Grab analysis and representation tools
- apt-get install -y octave texlive-latex-base texlive-fonts-recommended texlive-latex-extra epstool transfig octave - apt-get install -y octave texlive-latex-base texlive-fonts-recommended texlive-latex-extra epstool transfig octave
# Grab the data set # Grab the data set
@ -164,7 +162,7 @@ run-experiment:
- md5sum -c data.md5 - md5sum -c data.md5
- cd .. - cd ..
# Execute the experiment (example) # 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 - octave --no-gui my_test_file.m
- epspdf results.eps results.pdf - epspdf results.eps results.pdf
- mkdir results - mkdir results