-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
42 lines (38 loc) · 933 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: required
dist: trusty
language: cpp
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get -y install libgtk2.0-dev
script:
- mkdir app
- ./configure --prefix=`pwd`/app
- make
- make install
- wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
- chmod +x appimagetool-x86_64.AppImage
- mv ./app/bin/gkamus ./app/AppRun
- mv ./app/share/pixmaps/gkamus.png ./app
- |
cat > ./app/gkamus.desktop <<EOF
[Desktop Entry]
Version=1.0
Name=gKamus
Comment=Simple English - Indonesian dictionary
Exec=./AppRun
Icon=gkamus
Type=Application
Categories=Utility;
StartupNotify=true
Terminal=false
EOF
- ARCH=x86_64 ./appimagetool-x86_64.AppImage app
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file: "gKamus-x86_64.AppImage"
skip_cleanup: true
on:
tags: true
all_branches: true