Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pypolynom_completed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
payno
pypolynom_completed
Commits
54565176
Commit
54565176
authored
5 years ago
by
payno
Browse files
Options
Downloads
Patches
Plain Diff
[CI] add gitlab.ci file for gitlab continuous integration
parent
9b16f355
Branches
gitlab_ci
No related tags found
No related merge requests found
Pipeline
#9694
failed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+53
-0
53 additions, 0 deletions
.gitlab-ci.yml
with
53 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
53
−
0
View file @
54565176
stages
:
-
build
-
test
# - deploy
variables
:
http_proxy
:
http://proxy.esrf.fr:3128
https_proxy
:
http://proxy.esrf.fr:3128
no_proxy
:
.esrf.fr,localhost
.build_template
:
&test_definition
stage
:
build
before_script
:
# Upgrade distribution modules
-
python --version
-
python -m pip install --upgrade pip
-
pip install --upgrade setuptools wheel
script
:
# Generate source archive and wheel
-
python setup.py build sdist
-
python setup.py build bdist_wheel
artifacts
:
paths
:
-
dist/*.whl
.build_template
:
&build_definition
stage
:
test
before_script
:
# get ready for the test
-
python -m pip install --upgrade pip
-
pip install --upgrade setuptools wheel
-
python -m pip --pre dist/pypolynom*.whl
script
:
# run test
-
python -m unittest pypolynom.test
build:python-3.4-jessie
:
image
:
python:3.4-jessie
<<
:
*build_definition
test:python-3.4-jessie
:
image
:
python:3.4-jessie
<<
:
*test_definition
build:python-3.7-stretch
:
image
:
python:3.7-stretch
<<
:
*build_definition
test:python-3.7-stretch
:
image
:
python:3.7-stretch
<<
:
*test_definition
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