forked from RedisInsight/RedisDesktopManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 968 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
language: cpp
os:
- linux
- osx
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update > /dev/null; brew install qt5 > /dev/null; export PATH=/usr/local/opt/qt5/bin/:$PATH; fi
- cd ./src && ./configure && cd ./../
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then source /opt/qt54/bin/qt54-env.sh; fi
- qmake -v
script:
- git submodule update --init --recursive
- cd ./tests
- qmake DEFINES+=INTEGRATION_TESTS && make -s -j 2
- ./../bin/tests/tests -platform minimal -txt
- ./../bin/tests/qml_tests -platform minimal -txt
- cd ./../src
- qmake && make -s -j 2
after_success:
- cd ./../tests
- sudo pip install cpp-coveralls
- coveralls -b `pwd`/unit_tests/ -r `readlink -m ./../` -e 3rdparty/ -e tests/ -E .+/moc_.* -E .+/qrc_.* -E .+/qxt.* -E .+/ui_.* > coveralls.log
services:
- redis-server
notifications:
recipients:
email:
on_success: change
on_failure: change