Commit e1a2623d authored by jhskone's avatar jhskone
Browse files

switch to Anaconda

parent 835f13fe
...@@ -23,26 +23,19 @@ westpy_build: ...@@ -23,26 +23,19 @@ westpy_build:
- apt-get install -qq wget git > /dev/null - apt-get install -qq wget git > /dev/null
- apt-get -qq install zlib1g-dev > /dev/null - apt-get -qq install zlib1g-dev > /dev/null
- apt-get -qq install libssl-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" - export PY_DIR="/opt/python"
- ./configure --prefix $PY_DIR - mkdir -p $PY_DIR
- make - cd $PY_DIR
- make install - wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
- ln -s $PY_DIR/bin/python3.5 $PY_DIR/bin/python - /bin/bash $PY_DIR/Anaconda3-5.2.0-Linux-x86_64.sh -b -p $PY_DIR
- export PATH=$PY_DIR/bin:$PATH - export PATH=$PY_DIR/bin:$PATH
- wget https://bootstrap.pypa.io/get-pip.py - conda upgrade conda
- python get-pip.py - conda upgrade scipy numpy matplotlib scikit-learn
- conda update --prefix $PY_DIR anaconda
- conda install -c r r
- which python - which python
- which pip - which pip
- pip freeze - 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 - echo $LC_ALL
script: script:
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL westpy
......
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