diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..506fc89 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +sudo: required +language: generic +services: docker +script: +- docker run --rm --user="$(id -u):$(id -g)" -v "$PWD":"/repo" -w "/repo" dockershelf/latex:full + /bin/sh -c "latexmk -pdf -interaction=nonstopmode -cd **/*.tex" +deploy: + provider: releases + api_key: + secure: gp51k2St0/qZagVZgDOHoGlg9UWQ6lPRWA5yhLfPap5+JdgQyDif35xyah65o+Ykivqlh7gmrA1XrU6c8N0mBy90TATJqfuS1pbsehRn/8I8TiO1PIRJalIW/wSGnXb/s8ObSQ2sSVGwyXP1rspcpYuHokNcQxH6JvpIVc8hs/HvyBVyd0POlWNyalI7LZzc5x6jHAFIMLAxAACY/BtYFbYxX2Y52aco4LLlDMj269WTJqKHsuPvEFkANOngawrL8MuK+Ee5u5ByBXevZy0tf0JQiI4+7KKsR2EcNROHusr1WoaaLj/LP/omWBdc38Nw4Q8OzxUkVZTVAgvYNlr9q9kgsG8JDN2225HtUf2xQdgxhUwxTnYJWOhUXoQR4IjbMbfKU6oz6OmdmkreSYY3xgI9e7/ogXlfhE5zPdCbBS24Q8pn5uK2oLD7vrw0fh/ERejw3S92CNPVc4OlzTsxnZzcPndE80ZcR8d0RTyU35fOK2pjGITVQIwKmRk19y7ubh3+ljLeyyTArj/Z0MlPdZr1SyHHEQPgHbomqXQ2aDmJZNuIDDdUoqz5f3M9Hg+9e28jhFQLhMQH7UhqKIRj3r9RqIF9CM5avvNO4vC5eVdXr9+afrnauXIR6/+wkqYa+PYpdSgEJvrX5txj4Dz2Eg6Xw/oVGaZEPFtNQ3Gz1jM= + file_glob: true + file: "**/*.pdf" + skip_cleanup: true + on: + repo: amirhakh/TCP-IP-Laboratory + tags: true diff --git a/README.md b/README.md index e5c5f35..d5676bf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # TCP/IP Laboratory manual +[![GitHub release](https://img.shields.io/github/release/amirhakh/TCP-IP-Laboratory.svg?style=flat-square)](https://github.com/amirhakh/TCP-IP-Laboratory/releases/latest) +[![Travis (.com)](https://img.shields.io/travis/amirhakh/TCP-IP-Laboratory.svg?style=flat-square)](https://travis-ci.com/amirhakh/TCP-IP-Laboratory) + + ## Chapters * Linux and Simulator @@ -33,7 +37,7 @@ * [ ] linux routing service * [ ] router discovery * [ ] ... -* [ ] CI (generate pdf to github release) +* [x] CI (generate pdf to github release) # Appendix