mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-08 10:25:31 +00:00
We tell apt-get to download it to vendor/apt and then install it into a vendor/icu directory. We should be able to just specify --with-icu-dir, but apparently Ruby 2.0 (but not 1.9 or 2.1 or 2.2) has a bug that requires us to use --with-icu-include/--with-icu-lib instead. Otherwise it can't find the ICU libraries.
21 lines
547 B
YAML
21 lines
547 B
YAML
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
|
|
rvm:
|
|
- 1.9.3
|
|
- 2.0.0
|
|
- 2.1
|
|
- 2.2
|
|
notifications:
|
|
disabled: true
|
|
git:
|
|
submodules: false
|