Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin authored Mar 25, 2017
1 parent 0488a0c commit b9dd8be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ before_install:
- if [[ $TRAVIS_OS_NAME == linux ]]; then LINUX=true; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then OSX=true; fi

- if [[ $OSX ]]; then brew update; fi
#- if [[ $OSX ]]; then brew update; fi

- export LEPT_VER=1.74.0

install:
- if [[ $OSX ]]; then brew install icu4c pango; brew link --force gettext; fi
- if [[ $OSX ]]; then export ICU_ROOT=/usr/local/opt/icu4c ; fi
- wget https://www.cmake.org/files/v3.6/cmake-3.6.1-Linux-x86_64.sh
- sudo sh cmake-3.6.1-Linux-x86_64.sh --skip-license --prefix=/usr
- wget https://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh
- sudo sh cmake-3.7.2-Linux-x86_64.sh --skip-license --prefix=/usr
- wget -O leptonica.zip https://github.com/DanBloomberg/leptonica/archive/$LEPT_VER.zip
- unzip leptonica.zip -d .
- cmake -Hleptonica-$LEPT_VER -Bleptonica-$LEPT_VER/build
Expand Down

0 comments on commit b9dd8be

Please sign in to comment.