more travis poking
and fix a float comparison in test_threading
This commit is contained in:
parent
15eca1bc3e
commit
c3cc4f73a9
12
.travis.yml
12
.travis.yml
@ -2,10 +2,14 @@ language: cpp
|
|||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository ppa:lyrasis/precise-backports -y
|
- sudo add-apt-repository ppa:lyrasis/precise-backports -y
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq automake gobject-introspection gtk-doc-tools libfftw3-dev libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff4-dev libxml2-dev swig libmagick++-dev bc libgsf-1-dev libcfitsio3-dev libgsl0-dev libmatio-dev
|
- sudo apt-get install automake gobject-introspection gtk-doc-tools
|
||||||
- sudo apt-get install -qq liborc-0.4-dev
|
- sudo apt-get install libfftw3-dev libglib2.0-dev libjpeg-turbo8-dev
|
||||||
- sudo apt-get install -qq python-dev python3-dev
|
- sudo apt-get install libpng12-dev libwebp-dev libtiff4-dev libxml2-dev
|
||||||
- sudo apt-get install python-gi-dev python3-gi
|
- sudo apt-get install swig libmagick++-dev bc libgsf-1-dev
|
||||||
|
- sudo apt-get install libcfitsio3-dev libgsl0-dev libmatio-dev
|
||||||
|
- sudo apt-get install liborc-0.4-dev liblcms2-dev libopenslide-dev
|
||||||
|
- sudo apt-get install python-dev python3-dev
|
||||||
|
- sudo apt-get install python-gi-dev python3-gi python-gi-cairo
|
||||||
before_script:
|
before_script:
|
||||||
- ./bootstrap.sh
|
- ./bootstrap.sh
|
||||||
- ./configure
|
- ./configure
|
||||||
|
@ -23,16 +23,16 @@ for tile in 10 64 128 512; do
|
|||||||
vips subtract $tmp/t5.v $tmp/t7.v $tmp/t8.v
|
vips subtract $tmp/t5.v $tmp/t7.v $tmp/t8.v
|
||||||
vips abs $tmp/t8.v $tmp/t9.v
|
vips abs $tmp/t8.v $tmp/t9.v
|
||||||
max=$(vips max $tmp/t9.v)
|
max=$(vips max $tmp/t9.v)
|
||||||
if [ $max -gt 0 ]; then
|
if [ $(echo "$max > 0" | bc) -eq 1 ]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ $max -gt 0 ]; then
|
if [ $(echo "$max > 0" | bc) -eq 1 ]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $max -gt 0 ]; then
|
if [ $(echo "$max > 0" | bc) -eq 1 ]; then
|
||||||
echo error, max == $max
|
echo error, max == $max
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user