Skip to content

Commit

Permalink
Fixing travis timeout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ws233 committed Aug 16, 2015
1 parent 0e12559 commit 0e055f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ xcode_scheme:
- Template Framework Project
- TestsProject
before_install:
sudo pip install PyYAML; sudo pip install cpp-coveralls
sudo pip install PyYAML; sudo pip install cpp-coveralls; cd TesseractOCR; make; cd ..
after_success:
./scripts/coveralls.rb --extension m --extension mm --exclude-folder include --exclude-folder TestsProject

10 changes: 5 additions & 5 deletions TesseractOCR/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ $(libtessall) : $(libtess)
$(libtess) : $(liblept) $(libtessmakefile)
echo $(libtessmakefile)
cd $(abspath $(@D)/..) ; \
$(MAKE) -j8 && $(MAKE) install
$(MAKE) -sj8 && $(MAKE) install

$(TESSERACT_SRC)/%/Makefile : $(libtessconfig)
export LIBS="-lz -lpng -ljpeg -ltiff" ; \
Expand Down Expand Up @@ -123,7 +123,7 @@ $(libleptfat) : $(liblept)

$(liblept) : $(libleptmakefile)
cd $(abspath $(@D)/../..) ; \
$(MAKE) -j8 && $(MAKE) install
$(MAKE) -sj8 && $(MAKE) install

$(LEPTON_SRC)/%/Makefile : $(libjpegfat) $(libpngfat) $(libtifffat) $(libleptconfig)
export LIBS="-lz -lpng -ljpeg -ltiff" ; \
Expand All @@ -147,7 +147,7 @@ $(libtifffat) : $(libtiff)

$(libtiff) : $(libtiffmakefile)
cd $(abspath $(@D)/..) ; \
$(MAKE) -j8 && $(MAKE) install
$(MAKE) -sj8 && $(MAKE) install

$(TIFF_SRC)/%/Makefile : $(libtiffconfig)
export SDKROOT="$(call swap, $*, $(arch_names), $(sdks))" ; \
Expand All @@ -166,7 +166,7 @@ $(libpngfat) : $(libpng)

$(libpng) : $(libpngmakefile)
cd $(abspath $(@D)/..) ; \
$(MAKE) -j8 && $(MAKE) install
$(MAKE) -sj8 && $(MAKE) install

$(PNG_SRC)/%/Makefile : $(libpngconfig)
export SDKROOT="$(call swap, $*, $(arch_names), $(sdks))" ; \
Expand All @@ -185,7 +185,7 @@ $(libjpegfat) : $(libjpeg)

$(libjpeg) : $(libjpegmakefile)
cd $(abspath $(@D)/..) ; \
$(MAKE) -j8 && $(MAKE) install
$(MAKE) -sj8 && $(MAKE) install

$(JPEG_SRC)/%/Makefile : $(libjpegconfig)
export SDKROOT="$(call swap, $*, $(arch_names), $(sdks))" ; \
Expand Down

0 comments on commit 0e055f9

Please sign in to comment.