mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Add .travis.yml.
This commit is contained in:
parent
03531ba8a5
commit
0f651c187b
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@ -0,0 +1,27 @@
|
||||
language: cpp
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
sudo: required
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
install:
|
||||
- wget http://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.sh
|
||||
- sudo sh cmake-3.3.1-Linux-x86_64.sh --skip-license --prefix=/usr
|
||||
- wget -O leptonica.zip https://github.com/egorpugin/leptonica/archive/master.zip
|
||||
- unzip leptonica.zip -d .
|
||||
- cmake -Hleptonica-master -Bleptonica-master/build
|
||||
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake .. -DLeptonica_DIR=leptonica-master/build
|
||||
- make
|
Loading…
Reference in New Issue
Block a user