Navigation Menu

Skip to content

Commit

Permalink
travis: move before_script to tools/
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 12, 2012
1 parent 3272f42 commit 58590f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -11,9 +11,7 @@ install:
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1C837F31
- sudo apt-get install -y autotools-dev zlib1g-dev liblzo2-dev libmsgpack-dev libevent-dev libmecab-dev mecab-naist-jdic cutter-testing-framework
before_script:
- rvm use 1.9.3
- ./autogen.sh
- ./configure --with-ruby19
- tools/travis-before-script.sh
script:
- make -j8
- NO_RUBY=yes test/unit/run-test.sh
Expand Down
10 changes: 10 additions & 0 deletions tools/travis-before-script.sh
@@ -0,0 +1,10 @@
#!/bin/sh

set -e
set -x

rvm use 1.9.3

./autogen.sh

./configure --with-ruby19

0 comments on commit 58590f0

Please sign in to comment.