-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
38 lines (38 loc) · 1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: c
compiler:
- gcc
- clang
env:
- MRUBY_VERSION=1.2.0
- MRUBY_VERSION=1.3.0
- MRUBY_VERSION=1.4.0
before_install:
- sudo apt-get -qq update
install:
- sudo apt-get -qq install rake bison git gperf texinfo libtiff-dev help2man
before_script:
- cd ..
- git clone http://git.sv.gnu.org/r/autoconf.git
- cd autoconf
- aclocal -I m4
- automake -a
- autoconf
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
- git clone -b ImageMagick-6 --depth 1 https://github.com/ImageMagick/ImageMagick.git
- cd ImageMagick
- echo $CC
- CC="gcc" ./configure --prefix=/usr/local --without-xml --without-perl --disable-docs
- make -j -l 4
- which clang
- sudo PATH=/usr/local/clang-3.4/bin:$PATH make install
- export PATH=/usr/local/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/lib
- cd ..
- git clone --depth 1 -b $MRUBY_VERSION https://github.com/mruby/mruby.git
- cd mruby
- cp -fp ../mruby-mrmagick/.travis_build_config.rb build_config.rb
script:
- rake test