diff options
author | soumith <soumith@gmail.com> | 2015-11-10 00:37:34 +0300 |
---|---|---|
committer | soumith <soumith@gmail.com> | 2015-11-10 00:37:34 +0300 |
commit | 68d55ee75a2c06724dfd12e65f510ff52e8b6894 (patch) | |
tree | 5c88acc3383192cd167b0babb76ec16326af4006 | |
parent | eb62f6dbe941d4902d8dfaaf0bc4844e28cacede (diff) |
install manual version of graphviz in travis
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 08717a4..8b631b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ compiler: cache: directories: - $HOME/OpenBlasInstall + - $HOME/GraphViz sudo: false addons: apt: @@ -33,12 +34,12 @@ addons: - unzip - gnuplot - gnuplot-x11 - - graphviz - - graphviz-dev 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) +- ls $HOME/GraphViz/lib || (cd /tmp/ && wget -c http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.38.0.tar.gz && tar -xvf graphviz-2.38.0.tar.gz && cd graphviz-2.38.0 && (./configure prefix=$HOME/GraphViz/ 2>/dev/null >/dev/null) && (make NO_AFFINITY=1 -j$(getconf _NPROCESSORS_ONLN) 2>/dev/null >/dev/null) && make install) +- export LD_LIBRARY_PATH=$HOME/GraphViz/lib:$LD_LIBRARY_PATH - git clone https://github.com/torch/distro.git ~/torch --recursive - cd ~/torch && git submodule update --init --recursive - mkdir build && cd build |