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
threevis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
threevis
threevis
Commits
b7f63409
Commit
b7f63409
authored
Mar 20, 2018
by
Janis Born
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup CI scripts
parent
7f6af5d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
163 deletions
+25
-163
.gitlab-ci.yml
.gitlab-ci.yml
+25
-163
No files found.
.gitlab-ci.yml
View file @
b7f63409
stages
:
-
build
-
test
-
deploy
build
-3.6-VS2017
:
test
-3.6-VS2017
:
stage
:
build
test
tags
:
-
VS2017
variables
:
BUILD_PLATFORM
:
"
VS2017"
ARCHITECTURE
:
"
x64"
before_script
:
-
git submodule sync --recursive
-
git submodule update --init --recursive
...
...
@@ -18,86 +14,7 @@ build-3.6-VS2017:
-
set Path=%Path%;C:\Program Files\Python36;C:\Program Files\Python36\Scripts;
-
virtualenv --clear -p "C:\Program Files\Python36\python.exe" .
-
call .\Scripts\activate
-
python setup.py bdist_wheel --dist-dir dist3
artifacts
:
paths
:
-
dist3/
build-3.5-linux
:
stage
:
build
tags
:
-
Linux
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
virtualenv --clear -p python3.5 .
-
source bin/activate
-
python setup.py bdist_wheel --dist-dir dist3
artifacts
:
paths
:
-
dist3/
build-3.5-macos
:
stage
:
build
tags
:
-
Apple
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
export PATH=/opt/local/bin:$PATH
-
virtualenv --clear -p python3.5 .
-
source bin/activate
-
python setup.py bdist_wheel --dist-dir dist3
artifacts
:
paths
:
-
dist3/
build-2.7-linux
:
stage
:
build
tags
:
-
Linux
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
virtualenv --clear -p python2.7 .
-
source bin/activate
-
python setup.py bdist_wheel --dist-dir dist2
artifacts
:
paths
:
-
dist2/
build-2.7-macos
:
stage
:
build
tags
:
-
Apple
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
export PATH=/opt/local/bin:$PATH
-
virtualenv --clear -p python2.7 .
-
source bin/activate
-
python setup.py bdist_wheel --dist-dir dist2
artifacts
:
paths
:
-
dist2/
test-3.6-VS2017
:
stage
:
test
tags
:
-
VS2017
dependencies
:
-
build-3.6-VS2017
script
:
-
set Path=%Path%;C:\Program Files\Python36;C:\Program Files\Python36\Scripts;
-
virtualenv --clear -p "C:\Program Files\Python36\python.exe" .
-
call .\Scripts\activate
-
cd dist3
-
FOR %%a IN (*.whl) DO pip install %%a
-
pip install -e .
-
cd ..\tests
-
python -m unittest discover
...
...
@@ -106,12 +23,12 @@ test-3.5-linux:
test
tags
:
-
Linux
dependenci
es
:
-
build-3.5-linux
variabl
es
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
virtualenv --clear -p python3.5 .
-
source bin/activate
-
pip install
dist3/*.whl
-
pip install
-e .
-
cd tests
-
python -m unittest discover
...
...
@@ -120,13 +37,13 @@ test-3.5-macos:
test
tags
:
-
Apple
dependenci
es
:
-
build-3.5-macos
variabl
es
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
export PATH=/opt/local/bin:$PATH
-
virtualenv --clear -p python3.5 .
-
source bin/activate
-
pip install
dist3/*.whl
-
pip install
-e .
-
cd tests
-
python -m unittest discover
...
...
@@ -135,12 +52,12 @@ test-2.7-linux:
test
tags
:
-
Linux
dependenci
es
:
-
build-2.7-linux
variabl
es
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
virtualenv --clear -p python2.7 .
-
source bin/activate
-
pip install
dist2/*.whl
-
pip install
-e .
-
cd tests
-
python -m unittest discover
...
...
@@ -149,83 +66,28 @@ test-2.7-macos:
test
tags
:
-
Apple
dependenci
es
:
-
build-2.7-macos
variabl
es
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
export PATH=/opt/local/bin:$PATH
-
virtualenv --clear -p python2.7 .
-
source bin/activate
-
pip install
dist2/*.whl
-
pip install
-e .
-
cd tests
-
python -m unittest discover
deploy-3.6-VS2017
:
stage
:
deploy
tags
:
-
VS2017
dependencies
:
-
build-3.6-VS2017
script
:
-
mkdir release
-
cd dist3
-
FOR %%a IN (*.whl) DO cp %%a ..\release
artifacts
:
paths
:
-
release/*.whl
deploy-3.5-linux
:
deploy-wheel
:
stage
:
deploy
tags
:
-
Linux
dependencies
:
-
build-3.5-linux
script
:
-
mkdir release
-
cp dist3/*.whl release
artifacts
:
paths
:
-
release/*.whl
deploy-3.5-macos
:
stage
:
deploy
tags
:
-
Apple
dependencies
:
-
build-3.5-macos
script
:
-
mkdir release
-
cp dist3/*.whl release
artifacts
:
paths
:
-
release/*.whl
deploy-2.7-linux
:
stage
:
deploy
tags
:
-
Linux
dependencies
:
-
build-2.7-linux
script
:
-
mkdir release
-
cp dist2/*.whl release
artifacts
:
paths
:
-
release/*.whl
deploy-2.7-macos
:
stage
:
deploy
tags
:
-
Apple
dependencies
:
-
build-2.7-macos
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
mkdir release
-
cp dist2/*.whl release
-
virtualenv --clear -p python3.5 .
-
source bin/activate
-
python setup.py bdist_wheel --universal
-
cp dist/*.whl release
artifacts
:
paths
:
-
release/*.whl
...
...
@@ -235,12 +97,12 @@ deploy-documentation:
deploy
tags
:
-
Linux
dependenci
es
:
-
build-3.5-linux
variabl
es
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
virtualenv --clear -p python3.5 .
-
source bin/activate
-
pip install
dist3/*.whl
-
pip install
-e .
-
pip install sphinx sphinx_rtd_theme
-
mkdir documentation
-
cd docs
...
...
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