Navigation Menu

Skip to content

Commit

Permalink
travis: move all commands in install section to shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 23, 2012
1 parent b5733c7 commit 0f516f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Expand Up @@ -8,10 +8,7 @@ env:
- MYSQL_VERSION=5.5.27
- MARIADB_VERSION=5.5.25
install:
- curl https://raw.github.com/groonga/groonga/master/data/travis/setup.sh | sh
- curl https://raw.github.com/clear-code/cutter/master/data/travis/setup.sh | sh
- sudo apt-get -y install groonga-tokenizer-mecab
- tools/travis/install_mysql.sh
- tools/travis/install.sh
before_script:
- tools/travis/before_script.sh
script:
Expand Down
4 changes: 4 additions & 0 deletions tools/travis/install_mysql.sh → tools/travis/install.sh
Expand Up @@ -3,6 +3,10 @@
set -x
set -e

curl https://raw.github.com/groonga/groonga/master/data/travis/setup.sh | sh
curl https://raw.github.com/clear-code/cutter/master/data/travis/setup.sh | sh
sudo apt-get -y install groonga-tokenizer-mecab

mkdir -p vendor
cd vendor
if [ "$MYSQL_VERSION" = "system" ]; then
Expand Down

0 comments on commit 0f516f0

Please sign in to comment.