Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sofus Albert Høgsbro Rose
openlut
Commits
f4e6f587
Verified
Commit
f4e6f587
authored
Jan 26, 2017
by
Sofus Albert Høgsbro Rose
Browse files
Fixed the yml file, I think, now.
parent
b7304806
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
.gitlab-ci.yml
.gitlab-ci.yml
+10
-10
No files found.
.gitlab-ci.yml
View file @
f4e6f587
# This file is a template, and might need editing before it works on your project.
# use the official gcc image, based on debian
# can use verions as well, like gcc:5.2
# see https://hub.docker.com/_/gcc/
image
:
sorose/graphics:v8
stages
:
-
build
-
build_docs
-
deploy_docs
-
test
-
deploy_docs
# - review
before_script
:
-
apt update && apt -y install python3-pip gcc libmagickwand-dev
after_script
:
-
rm -rf dist build docs/build openlut.egg-info
build
:
stage
:
build
before_script
:
-
apt update && apt -y install python3-pip gcc libmagickwand-dev
script
:
-
python3 setup.py sdist
#Build source distribution.
-
python3 setup.py bdist_wheel
#Build Linux wheel.
...
...
@@ -27,7 +22,9 @@ build:
-
dist/*
build_docs
:
stage
:
build-docs
stage
:
build_docs
before_script
:
-
pip3 install sphinx
script
:
-
./mkDocs.sh
artifacts
:
...
...
@@ -35,10 +32,12 @@ build_docs:
-
docs/build/html
deploy_docs
:
stage
:
deploy
-
docs
stage
:
deploy
_
docs
environment
:
name
:
Documentation
url
:
https://www.sofusrose.com/openlut
script
:
-
docs/upload.sh
when
:
manual
# run tests using the binary built before.
...
...
@@ -46,3 +45,4 @@ test:
stage
:
test
script
:
-
python3 tests/suite.py
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