Skip to content

Instantly share code, notes, and snippets.

@danielkucera
Created May 4, 2020 13:00
Show Gist options
  • Save danielkucera/3c5c6859f4b84e687e8529c4132fd40d to your computer and use it in GitHub Desktop.
Save danielkucera/3c5c6859f4b84e687e8529c4132fd40d to your computer and use it in GitHub Desktop.
Travis config for KiCad schematic PDF generation
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