-
-
Notifications
You must be signed in to change notification settings - Fork 267
[ADD] gitlab: Add example to use gitlab #501
Conversation
moylop260
commented
Oct 26, 2017
@yajo |
+1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks!
sample_files/.gitlab-ci.yml
Outdated
LINT_CHECK: "0" | ||
TESTS: "1" | ||
script: | ||
- export TRAVIS_BUILD_DIR=$(pwd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can get into the main variables
section with just TRAVIS_BUILD_DIR: "$CI_PROJECT_DIR"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1ccb465
to
261eec0
Compare
sample_files/.gitlab-ci.yml
Outdated
script: | ||
- apt-get update && apt-get install -y tree dos2unix | ||
- source /.repo_requirements/virtualenv/python3.5/bin/activate | ||
- git clone https://github.com/vauxoo/maintainer-quality-tools.git -b master ${HOME}/maintainer-quality-tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here
sample_files/.gitlab-ci.yml
Outdated
TESTS: "0" | ||
script: | ||
- sudo apt-get update && sudo apt-get install -y dos2unix | ||
- git clone https://github.com/vauxoo/maintainer-quality-tools.git -b master ${HOME}/maintainer-quality-tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this should be the OCA repo instead of Vauxoo fork
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, thanks
(copy&paste issue)
261eec0
to
702bb3f
Compare