-
Notifications
You must be signed in to change notification settings - Fork 42
/
.travis.yml
37 lines (37 loc) · 2.09 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
language: cpp
compiler:
- gcc
- clang
env:
- CFLAGS=--coverage CXXFLAGS=--coverage
before_install:
- sudo apt-get update
- sudo apt-get install gcc-multilib libnotify-dev libv8-dev libboost1.48-dev libboost-date-time1.48-dev libboost-filesystem1.48-dev libboost-thread1.48-dev libboost-system1.48-dev libboost-test1.48-dev libgtest-dev
- wget "http://ppa.launchpad.net/fransschreuder1/usbpicprog-stable/ubuntu/pool/main/w/wxwidgets2.9/libwxgtk2.9-dev_2.9.3-1_amd64.deb"
- wget "http://ppa.launchpad.net/fransschreuder1/usbpicprog-stable/ubuntu/pool/main/w/wxwidgets2.9/wx2.9-headers_2.9.3-1_amd64.deb"
- wget "http://ppa.launchpad.net/fransschreuder1/usbpicprog-stable/ubuntu/pool/main/w/wxwidgets2.9/libwxgtk2.9-0_2.9.3-1_amd64.deb"
- wget "http://ppa.launchpad.net/fransschreuder1/usbpicprog-stable/ubuntu/pool/main/w/wxwidgets2.9/libwxbase2.9-dev_2.9.3-1_amd64.deb"
- wget "http://ppa.launchpad.net/fransschreuder1/usbpicprog-stable/ubuntu/pool/main/w/wxwidgets2.9/libwxbase2.9-0_2.9.3-1_amd64.deb"
- sudo dpkg --install libwxbase2.9-0_2.9.3-1_amd64.deb
- sudo dpkg --install libwxgtk2.9-0_2.9.3-1_amd64.deb
- sudo dpkg --install wx2.9-headers_2.9.3-1_amd64.deb
- sudo dpkg --install libwxbase2.9-dev_2.9.3-1_amd64.deb
- sudo dpkg --install libwxgtk2.9-dev_2.9.3-1_amd64.deb
- sudo pip install cpp-coveralls --use-mirrors
script:
- cmake . -DBUILD_CEF=off -DWITH_ARES=off -DDEBUG=on -DFORCE_BUNDLED_WXGTK=off -DWITH_GTEST=ON -DBUILD_TESTS=ON
- make -j4
- ctest --output-on-failure .
after_success:
- coveralls --exclude third_party --exclude src/tests --exclude breakpad-prefix --exclude gtest-prefix --exclude fetch_cef-prefix/src/fetch_cef/tests --exclude fetch_cef-prefix/src/fetch_cef/libcef --exclude CMakeFiles --exclude-pattern 'CMake[^\.]*\.c(?:pp)?' --exclude-pattern '[^\.]*\.h' > /dev/null
notifications:
irc:
channels:
- "irc.freenode.org#desura"
template:
- "%{repository} (%{commit}) by %{author} : %{message} %{foo} "
- "Build details: %{build_url}"
- "Latest commit: %{compare_url}"
on_success: change
on_failure: change
skip_join: true