Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
208
Issues
208
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
b2ecc14c
Commit
b2ecc14c
authored
Dec 05, 2018
by
Philipp Hörist
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use virtualenv for CI tests
parent
59147efa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
.gitlab-ci.yml
.gitlab-ci.yml
+12
-15
No files found.
.gitlab-ci.yml
View file @
b2ecc14c
before_script
:
-
sudo apt-get update -qq && sudo apt-get install -y -qq libtool pkg-config
python3-openssl gir1.2-gtk-3.0 python3-gi python3-nbxmpp-nightly python3-cairo python3-pip
-
sudo apt-get update -qq && sudo apt-get install -y -qq libtool pkg-config
gir1.2-gtk-3.0 python3-gi python3-cairo
-
sudo apt-get build-dep -y -qq gajim-default-nightly
-
sudo pip3 install pylint==2.1.1
stages
:
-
test
-
build
run-test
:
stage
:
test
script
:
-
python3 setup.py test -s test.no_gui
run-mypy
:
run-tests
:
stage
:
test
script
:
-
rm -rf civenv-master
-
virtualenv --system-site-packages civenv
-
. ./civenv/bin/activate
-
pip3 install mypy
-
pip3 install nbxmpp
-
pip3 install pylint==2.1.1
-
mypy gajim
run-pylint
:
stage
:
test
script
:
-
pylint3 --version
-
pylint --version
-
scripts/dev/pylint-ci.sh --jobs=2 gajim
-
python3 setup.py test -s test.no_gui
-
deactivate
-
rm -rf civenv-master
run-appdata
:
stage
:
test
...
...
@@ -57,4 +54,4 @@ run-build:
name
:
"
gajim-default-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA"
expire_in
:
1 week
paths
:
-
gajim-default-
2???-??-??
.tar.gz
-
gajim-default-
$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA
.tar.gz
Benoit Grégoire
@benoitg
mentioned in issue
#9484 (closed)
·
Dec 06, 2018
mentioned in issue
#9484 (closed)
mentioned in issue #9484
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment