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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dev
ltfatpy
Commits
7fb7bc27
Commit
7fb7bc27
authored
7 years ago
by
Denis Arrivault
Browse files
Options
Downloads
Patches
Plain Diff
Use registry + doc and pages
parent
49e4f51e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+25
-13
25 additions, 13 deletions
.gitlab-ci.yml
doc/conf.py
+1
-1
1 addition, 1 deletion
doc/conf.py
docker/Dockerfile
+5
-2
5 additions, 2 deletions
docker/Dockerfile
with
31 additions
and
16 deletions
.gitlab-ci.yml
+
25
−
13
View file @
7fb7bc27
...
...
@@ -2,26 +2,27 @@
stages
:
-
build
-
test
-
doc
# Global runner/docker image definition
image
:
ubuntu:latest
image
:
registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ltfatpy_ubuntu_16.04
# Global caching
cache
:
key
:
"
cache"
paths
:
#
cache:
#
key: "cache"
#
paths:
# apt
-
apt-cache
#
- apt-cache
# build
-
build
#
- build
before_script
:
-
export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
-
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.5 python3.5-dev python3-pip python3-tk
-
pip3 install --upgrade pip
-
pip3 install scipy matplotlib nose coverage cython
-
pip3 list
#
before_script:
#
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
#
- 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.5 python3.5-dev python3-pip python3-tk
#
- pip3 install --upgrade pip
#
- pip3 install scipy matplotlib nose coverage cython
#
- pip3 list
# Main build
build
:
...
...
@@ -46,3 +47,14 @@ test:
-
build/
expire_in
:
8d
# Doc generation
pages
:
stage
:
doc
tags
:
-
docker
script
:
-
python3 setup.py build_sphinx
-
cp -r build/sphinx/html public
artifacts
:
paths
:
-
public
This diff is collapsed.
Click to expand it.
doc/conf.py
+
1
−
1
View file @
7fb7bc27
...
...
@@ -44,7 +44,7 @@ extensions = [
'
sphinx.ext.intersphinx
'
,
'
sphinx.ext.todo
'
,
'
sphinx.ext.coverage
'
,
'
sphinx.ext.
pn
gmath
'
,
'
sphinx.ext.
im
gmath
'
,
'
sphinx.ext.ifconfig
'
,
'
sphinx.ext.viewcode
'
,
'
sphinxcontrib.bibtex
'
...
...
This diff is collapsed.
Click to expand it.
docker/Dockerfile
+
5
−
2
View file @
7fb7bc27
FROM
ubuntu:latest
#FROM ubuntu:latest
FROM
ioft/i386-ubuntu
MAINTAINER
Denis Arrivault
WORKDIR
/
RUN
apt-get update
&&
apt-get
install
-y
\
...
...
@@ -8,8 +9,10 @@ RUN apt-get update && apt-get install -y \
python3
\
python3-dev
\
python3-pip
\
python3-tk
python3-tk
\
libfreetype6
RUN
pip3
install
--upgrade
pip
RUN
pip3
install
scipy matplotlib nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex
ADD
ltfatpy-1.0.8 /
# cleanup
RUN
apt-get
-qy
autoremove
\ 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