Sha256: 756ffcb687350e20f97ffdc69b3ebecd8b7d33ec9aec513b5fb080cf9f285e25

Contents?: true

Size: 877 Bytes

Versions: 3

Compression:

Stored size: 877 Bytes

Contents

dpkg --list imagemagick
sudo apt-get update
sudo apt-get remove -y imagemagick
sudo apt-get install -y build-essential libx11-dev libxext-dev zlib1g-dev libpng12-dev libjpeg-dev libfreetype6-dev libxml2-dev
sudo apt-get build-dep -y imagemagick
case $IMAGEMAGICK_VERSION in
    latest)
        wget http://www.imagemagick.org/download/ImageMagick.tar.gz
        tar -xzvf ImageMagick.tar.gz
        cd ImageMagick-*
    ;;
    *)
        wget http://www.imagemagick.org/download/releases/ImageMagick-${IMAGEMAGICK_VERSION}.tar.gz
        tar -xzvf ImageMagick-${IMAGEMAGICK_VERSION}.tar.gz
        cd ImageMagick-${IMAGEMAGICK_VERSION}
    ;;
esac
./configure --prefix=/usr $CONFIGURE_OPTIONS
sudo make install
cd ..
sudo ldconfig

if [[ $TRAVIS_RUBY_VERSION =~ ^1.8 ]]; then
    echo "Set the stack size to unlimited to avoid segfault for Ruby 1.8"
    ulimit -s unlimited
fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmagick-2.15.3 before_install_linux.sh
rmagick-2.15.2 before_install_linux.sh
rmagick-2.15.1 before_install_linux.sh