Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/image.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@fb.com>2015-10-26 02:40:53 +0300
committerSoumith Chintala <soumith@fb.com>2015-10-26 02:40:53 +0300
commit07cb130d6189f83f99be41182e650d04da1335e2 (patch)
treecd3191e0a0888a4078d46d3ad3cc7c4710954076
parentf6ca5561278340a3a906cff76320d388cd66868e (diff)
added travis contbuild
-rw-r--r--.travis.yml63
-rw-r--r--README.md2
2 files changed, 65 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..47c29bd
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,63 @@
+language: c
+compiler:
+ - gcc
+ - clang
+cache:
+ directories:
+ - $HOME/OpenBlasInstall
+sudo: false
+addons:
+ apt:
+ packages:
+ - cmake
+ - gfortran
+ - gcc-multilib
+ - gfortran-multilib
+ - liblapack-dev
+ - build-essential
+ - gcc
+ - g++
+ - curl
+ - cmake
+ - libreadline-dev
+ - git-core
+ - libqt4-core
+ - libqt4-gui
+ - libqt4-dev
+ - libjpeg-dev
+ - libpng-dev
+ - ncurses-dev
+ - imagemagick
+ - libzmq3-dev
+ - gfortran
+ - unzip
+ - gnuplot
+ - gnuplot-x11
+before_script:
+- export ROOT_TRAVIS_DIR=$(pwd)
+- export INSTALL_PREFIX=~/torch/install
+- ls $HOME/OpenBlasInstall/lib || (cd /tmp/ && git clone https://github.com/xianyi/OpenBLAS.git -b master && cd OpenBLAS && (make NO_AFFINITY=1 -j$(getconf _NPROCESSORS_ONLN) 2>/dev/null >/dev/null) && make PREFIX=$HOME/OpenBlasInstall install)
+- git clone https://github.com/torch/distro.git ~/torch --recursive
+- cd ~/torch && git submodule update --init --recursive
+- mkdir build && cd build
+- export CMAKE_LIBRARY_PATH=$HOME/OpenBlasInstall/include:$HOME/OpenBlasInstall/lib:$CMAKE_LIBRARY_PATH
+- cmake .. -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" -DCMAKE_BUILD_TYPE=Release -DWITH_LUAJIT21=ON
+- make && make install
+- cd $ROOT_TRAVIS_DIR
+- export LD_LIBRARY_PATH=${INSTALL_PREFIX}/lib:$LD_LIBRARY_PATH
+script:
+- ${INSTALL_PREFIX}/bin/luarocks make
+- ${INSTALL_PREFIX}/bin/luajit -limage -e "print('image loaded succesfully')"
+- cd test
+- ${INSTALL_PREFIX}/bin/luarocks install totem
+- ${INSTALL_PREFIX}/bin/luajit ./test_compress_jpg.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_conversion.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_decompress_jpg.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_flip.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_gaussian.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_gaussianpyramid.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_png.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_ppm.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_rotate.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_scale.lua
+- ${INSTALL_PREFIX}/bin/luajit ./test_vflip.lua
diff --git a/README.md b/README.md
index cc0a12e..0005612 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# image Package Reference Manual #
+[![Build Status](https://travis-ci.org/torch/image.svg)](https://travis-ci.org/torch/image)
+
__image__ is the [Torch7 distribution](http://torch.ch/) package for processing
images. It contains a wide variety of functions divided into the following categories: