-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
49 lines (40 loc) · 1.15 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
language: cpp
dist: xenial
git:
depth: 1
os:
- linux
# - osx
branches:
only:
- master
- devel
compiler:
- gcc
matrix:
include:
- os: linux
env:
- BUILD="qmake"
fast_finish: true
# - os: osx
# osx_image: xcode8.3
# env:
# - MATRIX_EVAL="brew update"
# GMIC blessed repo has been moved to Framagit (June 2018)
# - git clone --depth=1 https://github.com/dtschump/gmic.git gmic-clone
# - GIT_SSL_NO_VERIFY=true git clone --depth=1 https://framagit.org/dtschump/gmic.git gmic
before_install:
- date -u
- uname -a
- git clone --depth=1 https://github.com/dtschump/gmic.git gmic
- make -C gmic/src CImg.h gmic_stdlib_community.h
install:
- if [ -z "$TRAVIS_OS_NAME" -o "$TRAVIS_OS_NAME" = "linux" ]; then
sudo apt-get install gdb libfftw3-dev zlib1g-dev libcurl4-openssl-dev libx11-dev libgimp2.0-dev qt5-default qt5-qmake qtbase5-dev qttools5-dev libopencv-dev libopencv-video-dev libopencv-legacy-dev libopencv-highgui-dev;
fi;
script:
- g++ --version
- if [ -z "$TRAVIS_OS_NAME" -o "$TRAVIS_OS_NAME" = "linux" ]; then
travis_wait 45 ./scripts/travis_build_${BUILD}.sh;
fi;