Skip to content

Commit

Permalink
Make generation of demo.svg deterministic (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helcaraxan authored and jirfag committed Sep 9, 2019
1 parent cdeefb5 commit 0b49095
Show file tree
Hide file tree
Showing 5 changed files with 1,502 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
sudo: false
language: go
go:
- 1.11.x
- 1.12.x

env:
global:
- NODE_VERSION=10.15.0

before_script:
- go get github.com/valyala/quicktemplate # for tests
- go get github.com/pkg/errors # for tests
- nvm install "${NODE_VERSION}"

script: make check_generated test

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tools/godownloader: Makefile tools/go.mod

tools/svg-term:
@mkdir -p tools
cd tools && npm install svg-term-cli
cd tools && npm ci
ln -sf node_modules/.bin/svg-term $@

tools/Dracula.itermcolors:
Expand Down
2 changes: 1 addition & 1 deletion docs/demo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0b49095

Please sign in to comment.