Skip to content
Snippets Groups Projects
Commit 6887c099 authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin
Browse files

Merge branch 'issue/27' into 'development'

Issue #27: Lint stage

Cria o estágio de lint no gitlab ci

See merge request !23
parents 52e95241 5d0cc04a
No related branches found
No related tags found
2 merge requests!51Merge development to master,!23Issue #27: Lint stage
Pipeline #
stages: stages:
- lint
- build - build
- test - test
pattern:
stage: lint
tags:
- regular
- debian
script:
- shopt -s extglob
- apt-get update && apt-get install -y git python
- git clone https://github.com/google/styleguide
- cd styleguide/cpplint
- ./cpplint.py --filter=-whitespace/blank_line,-build/include_what_you_use ../../src/!(jsoncpp).cpp ../../src/linux/*.cpp ../../src/windows/*.cpp
compile: compile:
stage: build stage: build
artifacts: artifacts:
...@@ -13,7 +26,7 @@ compile: ...@@ -13,7 +26,7 @@ compile:
- debian - debian
script: script:
- echo "Estágio 'build'" - echo "Estágio 'build'"
- apt-get update && apt-get install -y build-essential cmake git - apt-get update && apt-get install -y build-essential cmake git
- git submodule init - git submodule init
- git submodule update --init --recursive - git submodule update --init --recursive
- mkdir build - mkdir build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment