Commit 51ffa6b6 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

CI: Remove more conda build stuff, make sure dev deps are installed for

documentation
parent 07be0ee2
#!/usr/bin/env bash
set -e
name=$1
version=$2
# add any extra channels that are needed
for channel in $FSL_CONDA_CHANNELS; do
conda config --append channels $channel
done
# make sure to update fundamental
# packages from the default channel
conda update --yes -c defaults -n base conda
conda install --yes -c defaults -n base setuptools conda-build
# insert project name/version into meta.yaml
echo "{% set name = '$name' %}" > vars.txt
echo "{% set version = '$version' %}" >> vars.txt
cat vars.txt .conda/meta.yaml > tempfile
mv tempfile .conda/meta.yaml
rm vars.txt
mkdir -p dist/conda-bld
conda build --output-folder=dist/conda-bld .conda
# Make sure package is installable
for pyver in 2.7 3.4 3.5 3.6; do
conda create -y --name "test$pyver" python=$pyver
source activate test$pyver
conda install -y -c file://`pwd`/dist/conda-bld $name
source deactivate
done
#!/bin/bash
pip install -r requirements-dev.txt
python setup.py doc
mv doc/html doc/"$CI_COMMIT_REF_NAME"
#!/usr/bin/env bash
set -e
rsync -rv dist/conda-bld/ --exclude 'repodata*' --exclude "*json" "condadeploy:"
ssh condaindex
#!/bin/bash
set -e
apt-get install -y libgconf2-dev
apt-get install -y build-essential \
libgtk2.0-dev \
libwebkitgtk-dev \
libjpeg-dev \
libtiff-dev \
libsdl-dev \
libgstreamer0.10-dev \
libgstreamer-plugins-base0.10-dev \
libnotify-dev \
freeglut3-dev
mkdir $VIRTUAL_ENV/wx-build
pushd $VIRTUAL_ENV/wx-build
wget https://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/wxPython-src-3.0.2.0.tar.bz2
tar xf wxPython-src-3.0.2.0.tar.bz2
cd wxPython-src-3.0.2.0/wxPython
find src -name "*.cpp" | xargs sed -ie 's/PyErr_Format(PyExc_RuntimeError, mesg);/PyErr_Format(PyExc_RuntimeError, "%s", mesg);/g'
find contrib -name "*.cpp" | xargs sed -ie 's/PyErr_Format(PyExc_RuntimeError, mesg);/PyErr_Format(PyExc_RuntimeError, "%s", mesg);/g'
python ./build-wxpython.py \
--install \
--installdir=/ \
--prefix=$VIRTUAL_ENV \
--wxpy_installdir=$VIRTUAL_ENV
export LD_LIBRARY_PATH=$VIRTUAL_ENV/lib:$LD_LIBRARY_PATH
popd
Supports Markdown
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