forked from probonopd/linuxdeployqt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 888 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
language: cpp
dist: xenial
virt: vm
group: edge
arch:
# The following seems not to work; still runs on an amd64 host;
# maybe because we have not been migrated from travis-ci.org to travis-ci.com yet?
# arm64-graviton2
- amd64
os: linux
env:
global:
- DISPLAY=:99
before_install:
- ./tests/tests-environment.sh
before_script:
- git fetch --unshallow
script:
- ./tests/tests-ci.sh
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
# quick fix for issue 223
- if [ "$TRAVIS_TAG" != "$TRAVIS_BRANCH" ] && [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
- bash ./upload.sh ./linuxdeployqt-*.AppImage* pvs-studio-report.*
after_script:
- "xpra stop :99"
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/