Skip to content
Permalink
Browse files

LGTM: Add initial version of configuration file

  • Loading branch information...
sanssecours committed Mar 13, 2019
1 parent 8d3ea57 commit 3309f12d34c27f83a6a5539fc193992b239ee2f2
Showing with 13 additions and 1 deletion.
  1. +1 −1 doc/news/_preparation_next_release.md
  2. +12 −0 lgtm.yml
@@ -210,7 +210,7 @@ you up to date with the multi-language support provided by Elektra.

## Tests

- <<TODO>>
- We now check the source code of the repository with [LGTM](https://lgtm.com). _(René Schwaiger)_
- <<TODO>>
- <<TODO>>

@@ -0,0 +1,12 @@
extraction:
cpp:
after_prepare:
# Since LGTM does not allow a project to
# [download source files](https://lgtm.com/help/lgtm/analysis-faqs#whats-the-default-build-environment-for-cpp-projects),
# we download Google Test manually.
- cd "$LGTM_WORKSPACE"
- mkdir -p "googletest"
- curl -o gtest.tar.gz -L https://github.com/google/googletest/archive/release-1.8.1.tar.gz
- tar -zxvf gtest.tar.gz --strip-components=1 -C googletest
- rm gtest.tar.gz
- export GTEST_ROOT="$LGTM_WORKSPACE/googletest"

0 comments on commit 3309f12

Please sign in to comment.
You can’t perform that action at this time.