Commit ca85b23d authored by jhskone's avatar jhskone
Browse files

silence tar wget; reverse order of stages -- build first; update build stage

parent b7c3d486
......@@ -2,20 +2,22 @@ variables:
GIT_STRATEGY: none
stages:
- doc
- build
- doc
westpy_build:
tags: [rcc,docker,node-01]
stage: build
image: ubuntu:latest
before_script:
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
- apt-get update > /dev/null
- apt-get install -qq git >/dev/null
- apt-get install -qq wget git > /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
- wget –quiet https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz
- tar -xzf Python-$PY_VERSION.tgz
- cd Python-$PY_VERSION
- export PY_DIR="/opt/python"
- ./configure --prefix $PY_DIR
......@@ -23,7 +25,7 @@ westpy_build:
- make install
- ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
- export PATH=$PY_DIR/bin:$PATH
- wget https://bootstrap.pypa.io/get-pip.py
- wget –quiet https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- which python
- which pip
......@@ -40,6 +42,7 @@ westpy_doc_build:
stage: doc
image: debian:7
before_script:
- echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
- apt-get update > /dev/null
- apt-get install -qq build-essential > /dev/null
- apt-get install -qq apt-utils > /dev/null
......@@ -55,8 +58,8 @@ westpy_doc_build:
- 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
- wget –quiet https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz
- tar -xzf Python-$PY_VERSION.tgz
- cd Python-$PY_VERSION
- export PY_DIR="/opt/python"
- ./configure --prefix $PY_DIR
......@@ -64,7 +67,7 @@ westpy_doc_build:
- make install
- ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
- export PATH=$PY_DIR/bin:$PATH
- wget https://bootstrap.pypa.io/get-pip.py
- wget –quiet https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- which python
- which pip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment