Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
ltfatpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dev
ltfatpy
Commits
3606a1be
There was a problem fetching the pipeline summary.
Commit
3606a1be
authored
Apr 26, 2017
by
Denis Arrivault
Browse files
Options
Downloads
Patches
Plain Diff
Adding gitlab-ci configuration file
parent
31dd832a
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+50
-0
50 additions, 0 deletions
.gitlab-ci.yml
setup.cfg
+5
-2
5 additions, 2 deletions
setup.cfg
with
55 additions
and
2 deletions
.gitlab-ci.yml
0 → 100644
+
50
−
0
View file @
3606a1be
# CI Config for ltaftpy / gitlab
stages
:
-
build
-
test
# Global runner/docker image definition
image
:
ubuntu:latest
# Global caching
cache
:
key
:
"
cache"
paths
:
# apt
-
apt-cache
#
# build
-
build
before_script
:
-
export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
-
export SITE_PACKAGES=`pwd`/site_packages && mkdir -pv $SITE_PACKAGES
-
export PYTHONPATH=$PYTHONPATH:$SITE_PACKAGES
-
apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake libfftw3-dev
-
apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y liblapack-dev python3.6 python3.6-dev python3-pip
-
pip3 install --target=$SITE_PACKAGES scipy matplotlib nose coverage
# Main build
build
:
stage
:
build
tags
:
-
docker
script
:
-
pip3 install --target=$SITE_PACKAGES -e .
# Tests
test
:
stage
:
test
tags
:
-
docker
dependencies
:
-
build
script
:
-
nosetests
artifacts
:
paths
:
# Tests report
-
build/nosetests.xml
# Tests coverage report
-
build/htmlcov/
expire_in
:
8d
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.cfg
+
5
−
2
View file @
3606a1be
[nosetests]
[nosetests]
#verbosity=1
#verbosity=1
where
=
./ltfatpy
where
=
./ltfatpy
with-xunit
=
1
xunit-file
=
./build/nosetests.xml
with-coverage
=
1
with-coverage
=
1
cover-package
=
ltfatpy
cover-package
=
ltfatpy
cover-erase
=
1
cover-erase
=
1
cover-html
=
1
cover-html
=
1
cover-html-dir
=
../htmlcov
cover-html-dir
=
../
build/
htmlcov
[pytest]
[pytest]
# Specifies a minimal pytest version required for running tests.
# Specifies a minimal pytest version required for running tests.
...
@@ -19,4 +21,5 @@ norecursedirs = .git bin build cmake-modules ltfat_C_kernel sandboxes .settings
...
@@ -19,4 +21,5 @@ norecursedirs = .git bin build cmake-modules ltfat_C_kernel sandboxes .settings
source
=
./ltfatpy
source
=
./ltfatpy
omit
=
./ltfatpy/tests/*
omit
=
./ltfatpy/tests/*
[coverage html]
[coverage html]
directory
=
../htmlcov
directory
=
../build/htmlcov
\ No newline at end of file
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