Skip to content

Commit

Permalink
Add .travis.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Sep 6, 2015
1 parent 03531ba commit 0f651c1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f651c1

Please sign in to comment.