From: Aki Tuomi Date: Sat, 26 Oct 2013 20:05:12 +0000 (+0300) Subject: Attempt to setup ruby before doing much X-Git-Tag: rec-3.6.0-rc1~372^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c26c80dbf2b7204b337c50b664a1b1e905a36c88;p=pdns Attempt to setup ruby before doing much --- diff --git a/.travis.yml b/.travis.yml index 0c8bd3d68..fcccdf2fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,15 @@ before_script: - sudo apt-get install libboost-all-dev libtolua-dev bc libcdb-dev libnet-dns-perl unbound-host ldnsutils dnsutils bind9utils libtool libcdb-dev xmlto dblatex links asciidoc ruby-json ruby-sqlite3 rubygems libcurl4-openssl-dev ruby1.9.1 socat time - sudo sed -i '0,/\[mysqld\]/s//[mysqld]\nskip-character-set-client-handshake/' /etc/mysql/my.cnf - sudo restart mysql + - update-alternatives --set ruby /usr/bin/ruby1.9.1 + - gem install bundler --no-rdoc --no-ri --bindir /usr/local/bin - cd regression-tests - wget http://s3.amazonaws.com/alexa-static/top-1m.csv.zip - unzip top-1m.csv.zip - cd .. + - cd modules/remotebackend + - bundle install + - cd ../.. script: - ./bootstrap - ./configure --with-modules='gmysql gpgsql gsqlite3 mydns tinydns remote random' --enable-unit-tests --enable-remotebackend-http --enable-tools