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
113c0057
Commit
113c0057
authored
Sep 13, 2018
by
jhskone
Browse files
remove bkup and add py 3.5 install to build stage
parent
2339e2bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
113c0057
...
...
@@ -2,8 +2,8 @@ variables:
GIT_STRATEGY
:
none
stages
:
-
build
-
doc
-
build
westpy_build
:
tags
:
[
rcc
,
docker
,
node-01
]
...
...
@@ -12,7 +12,18 @@ westpy_build:
before_script
:
-
apt-get update > /dev/null
-
apt-get install -qq git >/dev/null
-
apt-get install -qq build-essential wget python-pip python-dev > /dev/null
-
cd /opt
-
export PY_VERSION="3.5.4"
-
wget https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz
-
tar -xzvf Python-$PY_VERSION.tgz
-
cd Python-$PY_VERSION
-
export PY_DIR="/opt/python"
-
./configure --prefix $PY_DIR
-
make
-
make install
-
ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
-
export PATH=$PY_DIR/bin:$PATH
-
which pip
script
:
-
git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy
-
cd westpy
...
...
@@ -50,6 +61,10 @@ westpy_doc_build:
-
ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
-
export PATH=$PY_DIR/bin:$PATH
-
which pip
-
wget https://bootstrap.pypa.io/get-pip.py
-
python get-pip.py
-
which python
-
which pip
-
pip install nbsphinx
-
pip install sphinx_rtd_theme
-
pip install ipython
...
...
.gitlab-ci.yml-bkup
deleted
100644 → 0
View file @
2339e2bd
variables:
GIT_STRATEGY: none
stages:
- build
- doc
westpy_build:
tags: [rcc,docker,node-01]
stage: build
image: ubuntu:latest
before_script:
- apt-get update > /dev/null
- apt-get install -qq git >/dev/null
- apt-get install -qq build-essential wget python-pip python-dev > /dev/null
script:
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy
- cd westpy
- git describe
- make
westpy_doc_build:
tags: [rcc,docker,node-01]
stage: doc
image: debian:7
before_script:
- apt-get update > /dev/null
- apt-get install -qq build-essential > /dev/null
- apt-get install -qq apt-utils > /dev/null
- apt-get install -qq wget git > /dev/null
- apt-get -qq install vim > /dev/null
- apt-get -qq install zlib1g-dev > /dev/null
- apt-get -qq install libssl-dev > /dev/null
- export TZ="US/Central"
- rm -f /etc/localtime
- cp /usr/share/zoneinfo/$TZ /etc/localtime
- apt-get install -qq texlive-latex-base > /dev/null
- apt-get install -qq latex2html > /dev/null
- apt-get install -qq pandoc > /dev/null
- cd /opt
- export PY_VERSION="3.5.4"
- wget https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz
- tar -xzvf Python-$PY_VERSION.tgz
- cd Python-$PY_VERSION
- export PY_DIR="/opt/python"
- ./configure --prefix $PY_DIR
- make
- make install
- ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
- export PATH=$PY_DIR/bin:$PATH
- which pip
- wget https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- which python
- which pip
- pip install nbsphinx
- pip install sphinx_rtd_theme
- pip install ipython
script:
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy
- cd westpy
- git describe
- cd doc
- make html
- ls _build/html
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