Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
PyWake
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
TOPFARM
PyWake
Commits
256566fc
Commit
256566fc
authored
3 years ago
by
Mads M. Pedersen
Browse files
Options
Downloads
Patches
Plain Diff
Test doc2
parent
f75ade17
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-15
13 additions, 15 deletions
.gitlab-ci.yml
with
13 additions
and
15 deletions
.gitlab-ci.yml
+
13
−
15
View file @
256566fc
image
:
dtuwindenergy/topfarm2:latest
image
:
continuumio/anaconda3
stages
:
-
test
...
...
@@ -62,18 +62,17 @@ trigger_pywake_ellipsys_test:
only
:
-
schedules
# ===== build documentation =====
pages
:
# "pages" is a job specifically for GitLab pages [1]
stage
:
# build, test, deploy defined by default [2]
deploy
script
:
# use sphinx to build docs, move to public page
-
apt-get update
-
apt-get -y install make
-
pip install --upgrade pip
-
pip install sphinx --upgrade
-
pip install nbsphinx --upgrade
-
pip install -e .
-
pip install -e .
[test]
-
cd docs/validation_report
-
python generate_validation_figures.py
-
cd report
...
...
@@ -90,12 +89,11 @@ pages: # "pages" is a job specifically for GitLab pages [1]
artifacts
:
# required for GitLab pages [1]
paths
:
-
public
#- docs/build/latex/PyWake.pdf
only
:
# only run for these branches
-
master
-
/^test_doc.*/
tags
:
# only runners with this tag can do the job [3]
-
python
-
ci-ubuntu
pypi_linux
:
stage
:
...
...
@@ -107,16 +105,16 @@ pypi_linux:
-
apt-get update
-
pip install --upgrade pip
-
pip install pypandoc
-
pip install -e . --upgrade
-
python
3
-c 'from git_utils import get_tag; get_tag(verbose=True)'
-
python
3
-m pip install -U setuptools wheel
-
python
3
setup.py sdist bdist_wheel
-
python
3
-m pip install -U twine
-
python
3
-c 'from git_utils import rename_dist_file; rename_dist_file()'
-
pip install -e .
[test]
--upgrade
-
python -c 'from git_utils import get_tag; get_tag(verbose=True)'
-
python -m pip install -U setuptools wheel
-
python setup.py sdist bdist_wheel
-
python -m pip install -U twine
-
python -c 'from git_utils import rename_dist_file; rename_dist_file()'
-
twine upload dist/* -u $TWINE_USERNAME -p $TWINE_PASSWORD
#- twine upload --repository-url https://test.pypi.org/legacy/ dist/* -u $TWINE_USERNAME -p $TWINE_PASSWORD # for testing purposes
tags
:
-
python
-
ci-ubuntu
# current
# pypi_windows:
...
...
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