Skip to content

Commit

Permalink
try to build with custom travis steps
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckremes committed Mar 24, 2017
1 parent 89dbef9 commit e95d127
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
@@ -1,9 +1,4 @@
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libzmq5-dev
install:
- bundle install
script: bundle exec rspec
script: ./travis_build_script.sh
language: ruby
rvm:
- 2.4.0
Expand Down
17 changes: 17 additions & 0 deletions travis_build_script.sh
@@ -0,0 +1,17 @@
#/bin/bash
set -ev

bundle install

sudo apt-get -qq update
sudo apt-get install libtool pkg-config build-essential autoconf automake wget libsodium18 libsodium-dev

wget http://download.zeromq.org/zeromq-4.2.2.tar.gz
tar -xvf zeromq-4.2.2.tar.gz
cd zeromq-4.2.2
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig

bundle exec rake spec

0 comments on commit e95d127

Please sign in to comment.