mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-08-19 22:26:10 +00:00
Minor fixes
This commit is contained in:
parent
27781d3c2b
commit
71645b4e24
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user