forked from Stellarium/stellarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (58 loc) · 1.72 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
env:
global:
- secure: "nDBuoowqSmcjCOsK4uXfkRRGuvcLt434lXeZIND/bfOEDgOv7h62w5h4i3ebSgItWkBStLzGB8Owfb2v/S0jC+wSIoP+SD2wRg12LA0/eeb3OBYw/TR5FlCVx21/GzvODTNi8NdWb92AcYGhbLNPqMDIFHGscARjHiP2EnONhTs="
addons:
coverity_scan:
project:
name: "Stellarium/stellarium"
description: "A realistic, real-time 3D simulation of the night sky."
notification_email: [email protected]
build_command_prepend: cmake ../.
build_command: make -j 16
branch_pattern: master
language: cpp
compiler:
- gcc
before_install:
- "wget -q http://cardinot.net/files/libarchive-3.1.2.tar.gz"
- "tar -xzvf libarchive-3.1.2.tar.gz"
- "wget -q http://cardinot.net/files/cmake-2.8.11.tar.gz"
- "tar -xzvf cmake-2.8.11.tar.gz"
- "mkdir qt5"
- "wget -q -O qt5.zip http://cardinot.net/files/qt521.zip"
- "unzip -qq qt5.zip -d qt5"
- "export PATH=`pwd`/qt5/bin:$PATH"
- "export QT_PLUGIN_PATH=`pwd`/qt5/plugins"
install:
- "cd libarchive-3.1.2"
- "./configure --prefix=/usr --disable-static"
- "make -j 16"
- "sudo make install -j 16"
- "cd .."
- "cd cmake-2.8.11"
- "./bootstrap --prefix=/usr --system-libs --mandir=/share/man"
- "make -j 16"
- "sudo make install -j 16"
- "cd .."
before_script:
- "export PATH=`pwd`/qt5/bin:$PATH"
- "export QT_PLUGIN_PATH=`pwd`/qt5/plugins"
- "mkdir build"
- "cd build"
script:
- "cmake ../."
- "make -j 16"
- "sudo make install -j 16"
notifications:
recipients:
email:
on_success: change
on_failure: always
irc:
channels:
- "irc.freenode.net#stellarium"
template:
- "Stellarium/trunk #%{build_number} (%{author}): %{message}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"