Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
west-public
westpy
Commits
b900950f
Commit
b900950f
authored
Sep 19, 2018
by
Marco Govoni
Browse files
Merge branch 'py-patch' into 'master'
py patch See merge request west-rcc/westpy!3
parents
6d84f5fe
284ed4d7
Changes
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b900950f
...
@@ -10,9 +10,24 @@ westpy_build:
...
@@ -10,9 +10,24 @@ westpy_build:
stage
:
build
stage
:
build
image
:
ubuntu:latest
image
:
ubuntu:latest
before_script
:
before_script
:
-
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
-
apt-get update > /dev/null
-
apt-get update > /dev/null
-
apt-get install -qq git >/dev/null
-
apt-get install -qq apt-utils > /dev/null
-
apt-get install -qq build-essential wget python-pip python-dev > /dev/null
-
apt-get install -qq dialog apt-utils -y > /dev/null
-
apt-get install -qq build-essential > /dev/null
-
apt-get install -qq pkg-config > /dev/null
-
apt-get install -qq libpng-dev > /dev/null
-
apt-get install -qq pandoc > /dev/null
-
apt-get install -qq wget git > /dev/null
-
export PY_DIR="/opt/anaconda"
-
cd /opt
-
wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
-
/bin/bash /opt/Anaconda3-5.2.0-Linux-x86_64.sh -b -p $PY_DIR
-
export PATH=$PY_DIR/bin:$PATH
-
conda upgrade conda
-
conda upgrade scipy numpy matplotlib scikit-learn
-
conda update --prefix $PY_DIR anaconda
-
which python
script
:
script
:
-
git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy
-
git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy
-
cd westpy
-
cd westpy
...
@@ -25,6 +40,7 @@ westpy_doc_build:
...
@@ -25,6 +40,7 @@ westpy_doc_build:
stage
:
doc
stage
:
doc
image
:
debian:7
image
:
debian:7
before_script
:
before_script
:
-
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
-
apt-get update > /dev/null
-
apt-get update > /dev/null
-
apt-get install -qq build-essential > /dev/null
-
apt-get install -qq build-essential > /dev/null
-
apt-get install -qq apt-utils > /dev/null
-
apt-get install -qq apt-utils > /dev/null
...
@@ -41,7 +57,7 @@ westpy_doc_build:
...
@@ -41,7 +57,7 @@ westpy_doc_build:
-
cd /opt
-
cd /opt
-
export PY_VERSION="3.5.4"
-
export PY_VERSION="3.5.4"
-
wget https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz
-
wget https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz
-
tar -xz
v
f Python-$PY_VERSION.tgz
-
tar -xzf Python-$PY_VERSION.tgz
-
cd Python-$PY_VERSION
-
cd Python-$PY_VERSION
-
export PY_DIR="/opt/python"
-
export PY_DIR="/opt/python"
-
./configure --prefix $PY_DIR
-
./configure --prefix $PY_DIR
...
@@ -50,9 +66,8 @@ westpy_doc_build:
...
@@ -50,9 +66,8 @@ westpy_doc_build:
-
ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
-
ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
-
export PATH=$PY_DIR/bin:$PATH
-
export PATH=$PY_DIR/bin:$PATH
-
wget https://bootstrap.pypa.io/get-pip.py
-
wget https://bootstrap.pypa.io/get-pip.py
-
python get-pip.py
-
which python
-
which python
-
which pip
-
python get-pip.py
-
pip install nbsphinx
-
pip install nbsphinx
-
pip install sphinx_rtd_theme
-
pip install sphinx_rtd_theme
-
pip install ipython
-
pip install ipython
...
...
setup.py
View file @
b900950f
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