forked from GilesBathgate/RapCAD
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
51 lines (45 loc) · 1.02 KB
/
Copy path.travis.yml
File metadata and controls
51 lines (45 loc) · 1.02 KB
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
group: travis_latest
dist: bionic
language: cpp
matrix:
include:
- os: linux
compiler: gcc
- os: osx
compiler: clang
addons:
apt:
packages:
- qt5-default
- qtbase5-dev
- libqt5opengl5-dev
- libboost-dev
- libcgal-dev
- bison
- flex
- libreadline-dev
install:
- if [ $TRAVIS_OS_NAME = osx ]; then
brew link --force qt5;
fi
script:
- qmake -v
- qmake CONFIG+=coverage
- make -j4
- if [ $TRAVIS_OS_NAME = osx ]; then
./rapcad.app/Contents/MacOS/rapcad -t test;
else
xvfb-run --server-args="-screen 0 1024x768x24" ./rapcad -t test;
fi;
after_success:
- if [ $TRAVIS_OS_NAME != osx ]; then
bash <(curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -a '-r';
fi
notifications:
irc:
channels:
- "irc.freenode.org#rapcad"
skip_join: true
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Build details : %{build_url}"