aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 5d8dd8800c6de3751d410faf255f3379b4dba8a0 (plain)
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
language: cpp
compiler:
 - gcc
 - clang
cache: apt
before_install:
 - sudo apt-add-repository -y ppa:beineri/opt-qt521
 - sudo apt-add-repository -y ppa:kalakris/cmake
 - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
 - sudo apt-get update -qq
install:
 - sudo apt-get install -y -qq cmake qt52base qt52svg qt52tools qt52x11extras qt52webkit
 - sudo apt-get install -y -qq g++-4.8
 - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
before_script:
 - mkdir build
 - cd build
 - cmake -DCMAKE_PREFIX_PATH=/opt/qt52/lib/cmake ..
script:
 - make -j4
 - make test
notifications:
 irc:
  channels:
   - "irc.esper.net#MultiMC"
  template:
   - "%{build_number} (%{branch} - %{commit} : %{author}): %{message} (%{build_url})"
 email: false