Skip to content

Commit

Permalink
Adicionado script intermediários para funcionar a compilação no travis
Browse files Browse the repository at this point in the history
  • Loading branch information
eiguike committed Feb 17, 2017
1 parent 4bfe896 commit e1f6f6e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ before_install:
- sudo apt-get update && sudo apt-get install --no-install-recommends texlive-fonts-recommended
texlive-latex-extra texlive-fonts-extra texlive-latex-recommended dvipng latex-xcolor
texlive-full

script:
- make
- chmod +x build.sh
- ./build.sh
deploy:
provider: releases
api_key:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ all: $(REPORT)

$(REPORT): $(DEPS)
mkdir _build
$(LATEX) $< 2> errors.txt
$(LATEX) $< 2> errors.txt
$(LATEX) $<
$(LATEX) $<
echo $(basename $<)
$(LATEX) $< 2> errors.txt
$(LATEX) $<

.PHONY: clean

Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
!#/bin/bash
make

exit 0

0 comments on commit e1f6f6e

Please sign in to comment.