forked from Stellarium/stellarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (64 loc) · 2.08 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
70
71
72
73
74
75
76
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 2
branch_pattern: master
language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get -qq install gcc-4.8
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
- gcc --version
- sudo apt-get -qq install g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
- g++ --version
- "wget -q -O libarchive-3.1.2.tar.gz http://sourceforge.net/projects/cardinot/files/util/libarchive-3.1.2.tar.gz/download"
- "tar -xzvf libarchive-3.1.2.tar.gz"
- "wget -q -O cmake-3.1.3.tar.gz http://sourceforge.net/projects/cardinot/files/util/cmake-3.1.3.tar.gz/download"
- "tar -xzvf cmake-3.1.3.tar.gz"
- "mkdir qt5"
- "wget -q -O qt5.zip http://sourceforge.net/projects/cardinot/files/util/qt541.zip/download"
- "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 2"
- "sudo make install -j 2"
- "cd .."
- "cd cmake-3.1.3"
- "./bootstrap"
- "make -j 2"
- "sudo make install -j 2"
- "cd .."
before_script:
- "mkdir build"
- "cd build"
script:
- "cmake ../."
- "make -j 2"
- "sudo make install -j 2"
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}"