Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
5defb84f
Commit
5defb84f
authored
4 years ago
by
Sergey Bronnikov
Committed by
Kirill Yukhin
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: enable static analysis with luacheck
Part of #4681
parent
6b730e4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
.travis.mk
+22
-1
22 additions, 1 deletion
.travis.mk
with
33 additions
and
1 deletion
.gitlab-ci.yml
+
11
−
0
View file @
5defb84f
stages
:
-
static_analysis
-
test
-
perf
-
cleanup
...
...
@@ -124,6 +125,16 @@ variables:
script
:
-
${GITLAB_MAKE} perf_cleanup
# Static Analysis
luacheck
:
<<
:
*docker_test_definition
stage
:
static_analysis
tags
:
-
deploy_test
script
:
-
${GITLAB_MAKE} test_debian_docker_luacheck
# Tests
release
:
...
...
This diff is collapsed.
Click to expand it.
.travis.mk
+
22
−
1
View file @
5defb84f
...
...
@@ -3,9 +3,11 @@
#
DOCKER_IMAGE
?=
packpack/packpack:debian-stretch
DOCKER_IMAGE_TARANTOOL
=
"registry.gitlab.com/tarantool/tarantool/testing/debian-stretch:latest"
TEST_RUN_EXTRA_PARAMS
?=
MAX_FILES
?=
65534
MAX_PROC
?=
2500
OOS_SRC_PATH
=
"/source"
all
:
package
...
...
@@ -76,8 +78,10 @@ deps_buster_clang_8: deps_debian
# Release
build
_debian
:
configure
_debian
:
cmake
.
-DCMAKE_BUILD_TYPE
=
RelWithDebInfo
-DENABLE_WERROR
=
ON
${
CMAKE_EXTRA_PARAMS
}
build_debian
:
configure_debian
make
-j
test_debian_no_deps
:
build_debian
...
...
@@ -147,6 +151,23 @@ test_static_build: deps_debian_static
test_static_docker_build
:
docker build
--no-cache
--network
=
host
--build-arg
RUN_TESTS
=
ON
-f
Dockerfile.staticbuild .
# ###################
# Static Analysis
# ###################
test_debian_docker_luacheck
:
docker run
-w
${
OOS_SRC_PATH
}
-v
${
PWD
}
:
${
OOS_SRC_PATH
}
--privileged
\
--cap-add
=
sys_nice
--network
=
host
-i
${
DOCKER_IMAGE_TARANTOOL
}
\
make
-f
.travis.mk test_debian_luacheck
test_debian_install_luacheck
:
apt update
-y
apt
install
-y
lua5.1 luarocks
luarocks
install
luacheck
test_debian_luacheck
:
test_debian_install_luacheck configure_debian
make luacheck
#######
# OSX #
#######
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment