Skip to content

Commit 088a7f3

Browse files
author
Alexis Lopez Zubieta
committed
Add travis file
1 parent dad026f commit 088a7f3

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: cpp
2+
sudo: required
3+
dist: trusty
4+
5+
notifications:
6+
email: false
7+
8+
addons:
9+
apt:
10+
update: true
11+
packages:
12+
- gcc
13+
- g++
14+
- qt5-default
15+
- cmake
16+
17+
script:
18+
- bash -xe build_appimages.sh
19+
20+
after_success:
21+
- ls -lh
22+
# make sure only pushes to rewrite create a new release, otherwise pretend PR and upload to transfer.sh
23+
- if [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
24+
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
25+
- bash upload.sh out/*.AppImage*
26+
27+
branches:
28+
except:
29+
- # Do not build tags that we create when we upload to GitHub Releases
30+
- /^(?i:continuous)$/

build_appimages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ARCH="x86_64"
44

55
BASE_DIR=${PWD}
6-
mkdir ${BASE_DIR}/out
6+
mkdir -p ${BASE_DIR}/out
77

88
# Download tools
99
wget -N https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-"$ARCH".AppImage

0 commit comments

Comments
 (0)