Created
May 4, 2020 13:00
-
-
Save danielkucera/3c5c6859f4b84e687e8529c4132fd40d to your computer and use it in GitHub Desktop.
Travis config for KiCad schematic PDF generation
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
language: minimal | |
services: | |
- docker | |
env: | |
global: | |
- SCHFILE=wiring.sch | |
- PDFFILE=wiring-$TRAVIS_COMMIT.pdf | |
jobs: | |
include: | |
- stage: GitHub Release | |
script: | |
- mkdir output | |
- chmod 777 output | |
- docker run --rm -t -v $(readlink -f .):/project:ro -v $(readlink -f .)/output:/output:rw -w=/project danielkucera/eeshow | |
eeplot -o /output/$PDFFILE $SCHFILE *.lib | |
deploy: | |
provider: releases | |
api_key: $GITHUB_OAUTH_TOKEN | |
skip_cleanup: true | |
file_glob: true | |
file: | |
- output/* | |
# on: | |
# tags: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment