Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c6b43b1

Browse filesBrowse files
committed
Travis round 4: PPA
1 parent debf678 commit c6b43b1
Copy full SHA for c6b43b1

File tree

Expand file treeCollapse file tree

3 files changed

+21
-4
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+21
-4
lines changed

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ tmp.gnuplot
22
*.gif
33
*.png
44
*.svg
5+
*.zip

‎.travis.yml

Copy file name to clipboard
+14-3Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
before_install:
2-
- sudo apt-get update -qq
3-
- sudo apt-get install gnuplot-x11
2+
- sudo add-apt-repository -y ppa:gladky-anton/gnuplot
3+
- sudo apt-get update -q
4+
- sudo apt-get install -y gnuplot
5+
# Fails because gnuplot is too old there.
6+
#- sudo apt-get update -qq
7+
#- sudo apt-get install gnuplot-x11
48
script:
59
- gnuplot --version
6-
- make
10+
- make zip
11+
deploy:
12+
provider: releases
13+
api_key: 'TODO'
14+
file: 'gnuplot-examples.zip'
15+
skip_cleanup: true
16+
on:
17+
tags: true

‎Makefile

Copy file name to clipboardExpand all lines: Makefile
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
IN_EXT ?= .gnuplot
44
GIF_EXT ?= .gif
55
PNG_EXT ?= .png
6+
ZIP ?= gnuplot-examples.zip
67

78
GIFS := $(patsubst %$(GIF_EXT)$(IN_EXT),%$(GIF_EXT),$(wildcard *$(IN_EXT)))
89
PNGS := $(patsubst %$(IN_EXT),%$(PNG_EXT),$(wildcard *$(IN_EXT)))
@@ -20,4 +21,8 @@ all: $(PNGS) $(GIFS)
2021
gnuplot -e 'set terminal gif animate delay 10' -e 'set output "$@"' '$<'
2122

2223
clean:
23-
rm -f *$(GIF_EXT) *$(PNG_EXT)
24+
rm -f *$(GIF_EXT) *$(PNG_EXT) '$(ZIP)'
25+
26+
zip: all
27+
rm -f '$(ZIP)'
28+
zip -r '$(ZIP)' *$(GIF_EXT) *$(PNG_EXT)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.