Skip to content

Commit 0fcffb1

Browse files
committed
Merge branch 'release/3.12.0'
2 parents 7f21f4c + aa2d9f7 commit 0fcffb1

File tree

904 files changed

+14989
-114493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

904 files changed

+14989
-114493
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ robots.txt eol=lf
3838
.gitignore export-ignore
3939
.gitattributes export-ignore
4040
.gitmodules export-ignore
41+
README.md export-ignore

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ $RECYCLE.BIN/
3939
*.tar
4040
*.zip
4141
*.bz2
42+
*.tar.xz
4243

4344
## Logs and databases
4445
*.log
@@ -51,13 +52,12 @@ $RECYCLE.BIN/
5152
!.gitattributes
5253
!.gitmodules
5354

55+
!.travis-before_install.sh
56+
5457
## Repo
5558
*.blend
5659
*.blend1
5760

5861
# breakpad symlink / directory
5962
/google-breakpad
6063
/google-breakpad/
61-
62-
# convert_faction_xml2html
63-
/html/

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
[submodule "data/glest_game"]
22
path = data/glest_game
33
url = https://github.com/MegaGlest/megaglest-data.git
4+
[submodule "source/masterserver"]
5+
path = source/masterserver
6+
url = https://github.com/MegaGlest/megaglest-masterserver.git
7+
[submodule "mk/linux/tools-for-standalone-client/installer/mojosetup"]
8+
path = mk/linux/tools-for-standalone-client/installer/mojosetup
9+
url = https://github.com/MegaGlest-Community/mojosetup-fork.git

.travis-before_install.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
3+
set -ex
4+
5+
wget https://www.libsdl.org/release/SDL2-2.0.3.tar.gz
6+
tar xf SDL2-2.0.3.tar.gz
7+
(
8+
cd SDL2-2.0.3
9+
./configure --enable-static --disable-shared
10+
make
11+
sudo make install
12+
)

.travis.yml

Lines changed: 58 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,42 @@
1-
# http://docs.travis-ci.com/user/build-configuration/
1+
# https://docs.travis-ci.com/user/customizing-the-build/
22
language: cpp
33

4+
sudo: required
5+
6+
os:
7+
- linux
8+
- osx
9+
410
compiler:
511
- gcc
612
- clang
713

14+
env:
15+
- GCC_VERSION="5"
16+
- GCC_VERSION="native"
17+
- LLVM_VERSION="3.7"
18+
- LLVM_VERSION="native"
19+
820
matrix:
9-
#include:
10-
# - compiler: gcc
11-
# - compiler: clang
12-
allow_failures:
21+
exclude:
22+
- compiler: gcc
23+
env: LLVM_VERSION="3.7"
24+
- compiler: gcc
25+
env: LLVM_VERSION="native"
26+
- compiler: clang
27+
env: GCC_VERSION="5"
1328
- compiler: clang
29+
env: GCC_VERSION="native"
30+
- os: linux
31+
compiler: clang
32+
env: LLVM_VERSION="native" # broken compiler
33+
- os: osx
34+
compiler: gcc # unsupported compiler
35+
- os: osx
36+
compiler: clang
37+
env: LLVM_VERSION="3.7" # missing compiler by brew
38+
#allow_failures:
39+
# - os: osx
1440

1541
git:
1642
submodules: false
@@ -20,24 +46,41 @@ git:
2046
# - master
2147

2248
before_install:
23-
- sudo apt-get update -qq # UPDATE REPOS
24-
#- sudo apt-get upgrade -qq # UPGRADE SYSTEM TO LATEST PATCH LEVEL
25-
- sudo apt-get install -y -qq
26-
- sudo mk/linux/setupBuildDeps.sh --quiet # INSTALL OUR DEPENDENCIES
49+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$GCC_VERSION" != "native" ]; then sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test; fi
50+
# https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
51+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" == "clang++" ] && [ "$LLVM_VERSION" != "native" ]; then sudo add-apt-repository --yes 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main'; fi
52+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" == "clang++" ] && [ "$LLVM_VERSION" != "native" ]; then sudo add-apt-repository --yes "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-${LLVM_VERSION} main"; fi
53+
# http://llvm.org/apt/
54+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" == "clang++" ] && [ "$LLVM_VERSION" != "native" ]; then wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -; fi
55+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi # UPDATE REPOS
56+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
57+
#- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get upgrade -qq; fi # UPGRADE SYSTEM TO LATEST PATCH LEVEL
58+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y -qq; fi
59+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "g++" ] && [ "$GCC_VERSION" != "native" ]; then sudo apt-get install -qq gcc-${GCC_VERSION} g++-${GCC_VERSION}; fi
60+
- if [ "$CXX" = "g++" ] && [ "$GCC_VERSION" != "native" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
61+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" == "clang++" ] && [ "$LLVM_VERSION" != "native" ]; then sudo apt-get --allow-unauthenticated -qq install clang-${LLVM_VERSION}; fi
62+
- if [ "$CXX" == "clang++" ] && [ "$LLVM_VERSION" != "native" ]; then export CXX="clang++-${LLVM_VERSION}" CC="clang-${LLVM_VERSION}"; fi
63+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo mk/linux/setupBuildDeps.sh --quiet; fi # INSTALL OUR DEPENDENCIES
64+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install sdl2 lua freetype ftgl libogg glew libvorbis cppunit glib fribidi miniupnpc wxmac; fi
65+
- $CXX --version
66+
- cmake --version
67+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo ./.travis-before_install.sh; fi
2768

2869
script:
2970
# ALL THE BUILD COMMANDS HERE
30-
- mk/linux/build-mg.sh -c 4
71+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then mk/linux/build-mg.sh -c 4; fi
72+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then mk/macosx/build-mg.sh -c 4; fi
3173

74+
# https://docs.travis-ci.com/user/notifications/#IRC-notification
3275
notifications:
3376
irc:
3477
channels:
3578
- "irc.freenode.org#megaglest"
3679
skip_join: true
3780
use_notice: true
81+
on_success: change
3882
template:
39-
#- "[%{commit}: %{author}] %{message}"
40-
#- "%{build_url}"
41-
- "[%{repository}#%{branch} @%{commit}] %{author}): %{message}"
42-
- "Diff: %{compare_url}"
43-
- "Build: %{build_url}"
83+
#- "[%{repository_slug}#%{branch} @%{commit}] %{author}): %{message}"
84+
#- "Diff: %{compare_url}"
85+
#- "Build: %{build_url}"
86+
- "[%{repository_name}#%{branch}@%{commit}] %{author}: %{message} %{build_url}"

0 commit comments

Comments
 (0)