-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
50 lines (45 loc) · 1.37 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
50
lang: cpp
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- sudo add-apt-repository -y ppa:beineri/opt-qt551
- sudo apt-get update
- sudo apt-get -y install qt55declarative qt55tools libpam0g-dev
before_script:
# cmake
- wget --no-check-certificate http://www.cmake.org/files/v3.3/cmake-3.3.0-Linux-x86_64.tar.gz -O cmake.tar.gz
- tar -xzf cmake.tar.gz -C $HOME
- export PATH=$HOME/cmake-3.3.0-Linux-x86_64/bin:$PATH
- cmake --version
# e-c-m
- wget --no-check-certificate http://download.kde.org/stable/frameworks/5.12/extra-cmake-modules-5.12.0.tar.xz
- tar -xJf extra-cmake-modules-5.12.0.tar.xz
- pushd extra-cmake-modules-5.12.0
- rm -rf build
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/ecm
- make && make install
- popd
- export PATH=$HOME/ecm/bin:$PATH
# prepare
- source /opt/qt55/bin/qt55-env.sh
- echo $PATH
- mkdir build
- cd build
- cmake ..
script: make
notifications:
email: false
irc:
channels:
- chat.freenode.net#hawaii-desktop
use_notice: true
skip_join: true
on_success: always
on_failure: change
slack:
secure: EGWF118PTfBj/Oktmr20fc17JTM5gt7/j24k6HkiOI1J8S+sJyxhhtSjV54cgmsaEURJ7zUD/xi2wSSigi82k2F29wpELInfty/+j95vuY+7QO7nyVIINHjKranLUogKai9evHU2cvlNTq6e27pjkDbRO2HNKyzTb+Lb6D3VEOk=
on_success: always
on_failure: change