forked from c-koi/gmic-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (48 loc) · 1.21 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
language: cpp
git:
depth: 1
os:
- linux
branches:
only:
- master
- new_api
- devel
compiler:
- gcc
matrix:
include:
- os: linux
dist: bionic
env:
- BUILD="qmake" GMIC_HOST="all"
- os: linux
dist: focal
env:
- BUILD="qmake" GMIC_HOST="all"
- os: linux
dist: bionic
env:
- BUILD="cmake" GMIC_HOST="none"
- os: linux
dist: bionic
env:
- BUILD="cmake" GMIC_HOST="gimp"
fast_finish: true
before_install:
- date -u
- uname -a
- git clone --depth=1 https://github.com/dtschump/gmic.git gmic-clone
- make -C gmic-clone/src CImg.h gmic_stdlib.h
- if [ -z "$TRAVIS_OS_NAME" -o "$TRAVIS_OS_NAME" = "linux" ]; then
sudo apt-get update;
fi;
install:
- if [ -z "$TRAVIS_OS_NAME" -o "$TRAVIS_OS_NAME" = "linux" ]; then
sudo apt-get install --allow-unauthenticated gdb libfftw3-dev zlib1g-dev libcurl4-openssl-dev libx11-dev libgimp2.0 libgegl-dev libgimp2.0-dev qt5-default qt5-qmake qtbase5-dev qttools5-dev qttools5-dev-tools;
fi;
script:
- g++ --version
- if [ -z "$TRAVIS_OS_NAME" -o "$TRAVIS_OS_NAME" = "linux" ]; then
travis_wait 45 ./scripts/travis_build_${BUILD}.sh;
fi;