Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NQontrol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Automate
Agent sessions
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
las-nq
NQontrol
Commits
58841240
Commit
58841240
authored
Jun 4, 2018
by
Christian
Browse files
Options
Downloads
Patches
Plain Diff
ci changes
parent
3bbcfeb2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+18
-11
18 additions, 11 deletions
.gitlab-ci.yml
Makefile
+18
-0
18 additions, 0 deletions
Makefile
setup.py
+10
-0
10 additions, 0 deletions
setup.py
src/Makefile
+0
-16
0 additions, 16 deletions
src/Makefile
with
49 additions
and
27 deletions
.gitignore
+
3
−
0
View file @
58841240
...
...
@@ -14,3 +14,6 @@ __pycache__
*.local.*
windows
_build
build
dist
*.egg-info
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
18
−
11
View file @
58841240
...
...
@@ -28,20 +28,27 @@ before_script:
test
:
stage
:
test
script
:
-
cd
ADpy
-
cd
src
# TODO remove cd
# - make test
# TODO enable tests when it works
# package:
# stage: build
# script:
# - make package
# - make doc
# artifacts:
# paths:
# - dist
# - doc/_build/html
# expire_in: 1 week
package
:
stage
:
build
script
:
-
make package
artifacts
:
paths
:
-
dist
expire_in
:
1 week
docs
:
stage
:
build
script
:
-
make doc
artifacts
:
paths
:
-
doc/_build/html
expire_in
:
1 week
# deploy staging:
# stage: deploy
...
...
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
18
−
0
View file @
58841240
all
:
requirements test doc package
requirements
:
@
pip3
install
--user
-r
requirements.txt
doc
:
@
export
PYTHONPATH
=
`
pwd
`
;
cd
doc
;
make html
upload-doc
:
# @cd doc; make upload
package
:
@
python3 setup.py sdist
--format
=
zip bdist_wininst
--plat-name
=
win-amd64
&&
echo
==
Packages are ready
in
dist/
==
test
:
python3
-m
unittest discover
-s
src/tests
.PHONY
:
test doc package all
This diff is collapsed.
Click to expand it.
setup.py
+
10
−
0
View file @
58841240
...
...
@@ -19,6 +19,16 @@ entry_points = """
# fibonacci = adwin_control.skeleton:run
"""
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import
codecs
try
:
codecs
.
lookup
(
'
mbcs
'
)
except
LookupError
:
ascii
=
codecs
.
lookup
(
'
utf-8
'
)
func
=
lambda
name
,
enc
=
ascii
:
{
True
:
enc
}.
get
(
name
==
'
mbcs
'
)
codecs
.
register
(
func
)
def
setup_package
():
needs_sphinx
=
{
'
build_sphinx
'
,
'
upload_docs
'
}.
intersection
(
sys
.
argv
)
...
...
This diff is collapsed.
Click to expand it.
src/Makefile
deleted
100644 → 0
+
0
−
16
View file @
3bbcfeb2
all
:
test
doc
:
# @export PYTHONPATH=`pwd`; cd doc; make html
upload-doc
:
# @cd doc; make upload
package
:
# @python3 setup.py sdist bdist_wininst && echo == Packages are ready in dist/ ==
test
:
python3
-m
unittest discover
-s
./tests
.PHONY
:
test
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
sign in
to comment