Commit 8ba9b8d7 by Torkel Ödegaard

added custom wercker box

parent c6d4b5cc
name: grafana-build-box
version: 2.0.0
inherits: wercker/golang
type: main
platform: ubuntu@12.04
packages:
- ruby@2.0.0-p594
keywords:
- ruby
script: |
export RUBYVERSION=2.0.0-p594
sudo apt-get update
sudo apt-get install git zlib1g-dev libreadline-dev libqtwebkit-dev
sudo apt-get remove ruby1.9.1
cd $HOME
mkdir rubyinstall
cd rubyinstall
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-$RUBYVERSION.tar.gz
tar xzvf ruby-$RUBYVERSION.tar.gz
cd ruby-$RUBYVERSION
./configure --with-readline-dir=/usr/include/readline --with-openssl-dir=/usr/include/openssl
make
make test
sudo make install
cd $HOME
rm -fr rubyinstall
echo "gem: --no-rdoc --no-ri" >> $HOME/.gemrc
box: wercker/golang
box: grafana-build-box
steps:
- wercker/npm-install@0.9.3
......@@ -6,23 +6,6 @@ steps:
build:
steps:
script: |
export RUBYVERSION=2.0.0-p594
sudo apt-get update
sudo apt-get install git zlib1g-dev libreadline-dev libqtwebkit-dev
sudo apt-get remove ruby1.9.1
cd $HOME
mkdir rubyinstall
cd rubyinstall
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-$RUBYVERSION.tar.gz
tar xzvf ruby-$RUBYVERSION.tar.gz
cd ruby-$RUBYVERSION
./configure --with-readline-dir=/usr/include/readline --with-openssl-dir=/usr/include/openssl
make
make test
sudo make install
cd $HOME
rm -fr rubyinstall
# Workspace
- setup-go-workspace
- script:
......
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