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
e1a2623d
Commit
e1a2623d
authored
Sep 14, 2018
by
jhskone
Browse files
switch to Anaconda
parent
835f13fe
Changes
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e1a2623d
...
...
@@ -23,26 +23,19 @@ westpy_build:
-
apt-get install -qq wget git > /dev/null
-
apt-get -qq install zlib1g-dev > /dev/null
-
apt-get -qq install libssl-dev > /dev/null
-
cd /opt
-
export PY_VERSION="3.5.6"
-
wget 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
-
make
-
make install
-
ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python
-
mkdir -p
$PY_DIR
-
cd $PY_DIR
-
wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
-
/bin/bash $PY_DIR/Anaconda3-5.2.0-Linux-x86_64.sh -b -p $PY_DIR
-
export PATH=$PY_DIR/bin:$PATH
-
wget https://bootstrap.pypa.io/get-pip.py
-
python get-pip.py
-
conda upgrade conda
-
conda upgrade scipy numpy matplotlib scikit-learn
-
conda update --prefix $PY_DIR anaconda
-
conda install -c r r
-
which python
-
which pip
-
pip freeze
-
export LANGUAGE=en_US.UTF-8
-
export LC_ALL=en_US.UTF-8
-
export LANG=en_US.UTF-8
-
export LC_TYPE=en_US.UTF-8
-
echo $LC_ALL
script
:
-
git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy
...
...
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