forked from ksnip/ksnip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (63 loc) · 2.06 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: cpp
compiler: gcc
dist: xenial
services: xvfb
os: linux
git:
depth: false
jobs:
include:
- stage: test
os: linux
before_install:
- source ci/scripts/common/bootstrap_ubuntu_repos.sh
install:
- git clone git://github.com/DamirPorobic/kColorPicker
- git clone git://github.com/DamirPorobic/kImageAnnotator
- source ci/scripts/common/setup_ubuntu_qt.sh
- source ci/scripts/common/setup_dependencies_ubuntu.sh
script:
- mkdir build ; cd build
- cmake .. -DBUILD_TESTS=ON ; make
- xvfb-run --auto-servernum --server-num=1 --server-args="-screen 0 1024x768x24" make test CTEST_OUTPUT_ON_FAILURE=1
- stage: build
os: linux
env: BINARY_TYPE=AppImage
before_install: source ci/scripts/bootstrap.sh
install: source ci/scripts/setup.sh
script: source ci/scripts/build.sh
after_success: source ci/scripts/upload.sh
- stage: build
os: linux
env: BINARY_TYPE=deb
services: docker
before_install: source ci/scripts/bootstrap.sh
install: source ci/scripts/setup.sh
script: source ci/scripts/build.sh
after_success: source ci/scripts/upload.sh
- stage: build
os: linux
env: BINARY_TYPE=rpm
services: docker
before_install: source ci/scripts/bootstrap.sh
install: source ci/scripts/setup.sh
script: source ci/scripts/build.sh
after_success: source ci/scripts/upload.sh
- stage: build
os: windows
env: BINARY_TYPE=exe
before_install: source ci/scripts/bootstrap.sh
install: source ci/scripts/setup.sh
script: source ci/scripts/build.sh
after_success: source ci/scripts/upload.sh
- stage: build
os: osx
env: BINARY_TYPE=app
before_install: source ci/scripts/bootstrap.sh
install: source ci/scripts/setup.sh
script: source ci/scripts/build.sh
after_success: source ci/scripts/upload.sh
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/