-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:MaKeAppDev/FS-EM
- Loading branch information
Showing
4 changed files
with
79 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
services: | ||
- docker | ||
|
||
before_install: | ||
- docker pull makeappdev/uselatex | ||
- docker run -it -d --name uselatex makeappdev/uselatex bash | ||
- docker ps -a | ||
- docker exec uselatex bash -c "cmake --version; pdflatex --version" | ||
- docker cp ./. uselatex:/ | ||
|
||
script: | ||
- docker exec uselatex bash -c "mkdir -p build && cd build && cmake ..; make" | ||
- mkdir -p export | ||
- mkdir -p tmp | ||
- echo "# This branch is for deployment only" >> export/README.md | ||
- docker cp uselatex:build/. tmp | ||
- cp tmp/*.pdf export | ||
- cp tmp/git.id export | ||
|
||
deploy: | ||
provider: pages | ||
skip-cleanup: true | ||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure | ||
local-dir: export | ||
on: | ||
branch: master | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.