Skip to content

Commit

Permalink
Move before_install steps to a separate script
Browse files Browse the repository at this point in the history
  • Loading branch information
aroben committed Jan 6, 2015
1 parent d42ad45 commit d258d14
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
sudo: false
before_install:
- git fetch origin master:master
- git fetch origin v2.0.0:v2.0.0
- git fetch origin test/attributes:test/attributes
- git fetch origin test/master:test/master
- script/vendor-deb libicu48 libicu-dev
- bundle config build.charlock_holmes --with-icu-include=$(pwd)/vendor/debs/include --with-icu-lib=$(pwd)/vendor/debs/lib
- git submodule init
- git submodule sync --quiet
- script/fast-submodule-update
before_install: script/travis/before_install
rvm:
- 1.9.3
- 2.0.0
Expand Down
15 changes: 15 additions & 0 deletions script/travis/before_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

set -ex

git fetch origin master:master
git fetch origin v2.0.0:v2.0.0
git fetch origin test/attributes:test/attributes
git fetch origin test/master:test/master

script/vendor-deb libicu48 libicu-dev
bundle config build.charlock_holmes --with-icu-include=$(pwd)/vendor/debs/include --with-icu-lib=$(pwd)/vendor/debs/lib

git submodule init
git submodule sync --quiet
script/fast-submodule-update

0 comments on commit d258d14

Please sign in to comment.