Skip to content
Snippets Groups Projects
Commit 5d0cc04a authored by Felipe Shi Iu Wu's avatar Felipe Shi Iu Wu
Browse files

Issue #27: Lint stage

parent 52e95241
No related branches found
No related tags found
2 merge requests!51Merge development to master,!23Issue #27: Lint stage
Pipeline #
stages:
- lint
- build
- 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:
stage: build
artifacts:
......@@ -13,7 +26,7 @@ compile:
- debian
script:
- 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 update --init --recursive
- 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