7486
by Holger Rapp
- Added a simple .travis.yml to build on various version of gcc on travis |
1 |
language: cpp |
7698.1.1
by Holger Rapp
Travis configuration for clang. |
2 |
script: bash -e .travis.sh |
7675
by Holger Rapp
Fixes to the travis configuration. Builds now finally pass on travis. |
3 |
sudo: required |
4 |
dist: trusty |
|
7486
by Holger Rapp
- Added a simple .travis.yml to build on various version of gcc on travis |
5 |
|
7707.1.1
by Holger Rapp
Make travis stricter, run regression tests on travis, adjust warnings. |
6 |
before_script: |
8401.4.7
by Hans Joachim Desserud
Assume osx has an export command. Get rid of remaining mismatched quotation mark |
7 |
- export DISPLAY=:99.0 |
8 |
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start ; fi |
|
8401.4.35
by Hans Joachim Desserud
Remove xvfb option which doesn't seem to be used |
9 |
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ( sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok )& fi |
7707.1.1
by Holger Rapp
Make travis stricter, run regression tests on travis, adjust warnings. |
10 |
- sleep 3 # give xvfb some time to start |
11 |
||
7770.1.1
by Tino
travis should not build _widelands_dev_widelands_trunk because it is a copy of master |
12 |
# ignore this branch because it is only a mirror of master
|
13 |
branches: |
|
14 |
except: |
|
15 |
- _widelands_dev_widelands_trunk |
|
16 |
||
8401.2.8
by Hans Joachim Desserud
Add all LLVM repos up front. |
17 |
# Let travis add additional repos and install packages for us (https://docs.travis-ci.com/user/migrating-from-legacy/#Adding-APT-Sources)
|
8401.2.1
by Hans Joachim Desserud
Travis can add additional repos for us, so we don't have to add them manually during the build |
18 |
addons: |
19 |
apt: |
|
8401.2.8
by Hans Joachim Desserud
Add all LLVM repos up front. |
20 |
# The aliases used are based on a whitelist, see https://github.com/travis-ci/apt-source-whitelist for details.
|
21 |
# Clang 3.4 and 3.5 are too old (presumably) to have gotten official aliases
|
|
8401.2.1
by Hans Joachim Desserud
Travis can add additional repos for us, so we don't have to add them manually during the build |
22 |
sources: |
23 |
- ubuntu-toolchain-r-test |
|
8401.2.8
by Hans Joachim Desserud
Add all LLVM repos up front. |
24 |
- sourceline: "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.4 main" |
25 |
key_url: "http://apt.llvm.org/llvm-snapshot.gpg.key" |
|
26 |
- sourceline: "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.5 main" |
|
27 |
key_url: "http://apt.llvm.org/llvm-snapshot.gpg.key" |
|
8502.8.2
by GunChleoc
Grab new Travis configuration to test this. |
28 |
- llvm-toolchain-trusty-5.0 |
8662.1.1
by Hans Joachim Desserud
Replace clang 4.0 build with clang 6.0. (Fixes: #1766069) |
29 |
- llvm-toolchain-trusty-6.0 |
8401.2.2
by Hans Joachim Desserud
Experiment by moving over most of the build dependencies to see if travis installs them on its own |
30 |
packages: |
31 |
- cmake |
|
32 |
- libboost-dev |
|
33 |
- libboost-regex-dev |
|
34 |
- libboost-system-dev |
|
35 |
- libboost-test-dev |
|
36 |
- libglew-dev |
|
37 |
- libicu-dev |
|
38 |
- libpng-dev |
|
8401.2.3
by Hans Joachim Desserud
Move the rest of non-compiler dependencies over in the yml file. Not sure why sdl2-snapshots was used, but it wasn't in the whitelist so let's try without it |
39 |
- libsdl2-dev |
40 |
- libsdl2-image-dev |
|
41 |
- libsdl2-mixer-dev |
|
42 |
- libsdl2-ttf-dev |
|
43 |
- python-pip |
|
44 |
- zlib1g-dev |
|
8401.2.1
by Hans Joachim Desserud
Travis can add additional repos for us, so we don't have to add them manually during the build |
45 |
|
7486
by Holger Rapp
- Added a simple .travis.yml to build on various version of gcc on travis |
46 |
matrix: |
47 |
include: |
|
8401.4.38
by Hans Joachim Desserud
And fix indentation... just because |
48 |
### MAC OSX BUILDS
|
49 |
- os: osx |
|
50 |
env: BUILD_TYPE="Debug" |
|
51 |
- os: osx |
|
52 |
env: BUILD_TYPE="Release" |
|
53 |
### LINUX + CLANG BUILDS
|
|
54 |
- os: linux |
|
55 |
compiler: clang |
|
8401.4.39
by Hans Joachim Desserud
Really fix indentation. Forgot one line |
56 |
env: CLANG_VERSION="3.4" BUILD_TYPE="Debug" |
8401.4.38
by Hans Joachim Desserud
And fix indentation... just because |
57 |
- os: linux |
58 |
compiler: clang |
|
59 |
env: CLANG_VERSION="3.5" BUILD_TYPE="Debug" |
|
60 |
- os: linux |
|
61 |
compiler: clang |
|
8502.8.2
by GunChleoc
Grab new Travis configuration to test this. |
62 |
env: CLANG_VERSION="5.0" BUILD_TYPE="Debug" |
63 |
- os: linux |
|
64 |
compiler: clang |
|
8662.1.1
by Hans Joachim Desserud
Replace clang 4.0 build with clang 6.0. (Fixes: #1766069) |
65 |
env: CLANG_VERSION="6.0" BUILD_TYPE="Debug" |
66 |
- os: linux |
|
67 |
compiler: clang |
|
8401.4.38
by Hans Joachim Desserud
And fix indentation... just because |
68 |
env: CLANG_VERSION="3.4" BUILD_TYPE="Release" |
69 |
- os: linux |
|
70 |
compiler: clang |
|
71 |
env: CLANG_VERSION="3.5" BUILD_TYPE="Release" |
|
72 |
- os: linux |
|
73 |
compiler: clang |
|
8502.8.2
by GunChleoc
Grab new Travis configuration to test this. |
74 |
env: CLANG_VERSION="5.0" BUILD_TYPE="Release" |
8662.1.1
by Hans Joachim Desserud
Replace clang 4.0 build with clang 6.0. (Fixes: #1766069) |
75 |
- os: linux |
76 |
compiler: clang |
|
77 |
env: CLANG_VERSION="6.0" BUILD_TYPE="Release" |
|
8401.4.38
by Hans Joachim Desserud
And fix indentation... just because |
78 |
### LINUX + GCC BUILDS
|
79 |
- os: linux |
|
80 |
compiler: gcc |
|
81 |
env: GCC_VERSION="4.8" BUILD_TYPE="Debug" |
|
82 |
- os: linux |
|
83 |
compiler: gcc |
|
84 |
env: GCC_VERSION="4.9" BUILD_TYPE="Debug" |
|
85 |
- os: linux |
|
86 |
compiler: gcc |
|
87 |
env: GCC_VERSION="7" BUILD_TYPE="Debug" |
|
88 |
- os: linux |
|
89 |
compiler: gcc |
|
8672.1.1
by Hans Joachim Desserud
Build with GCC 8 (newly released) instead of 6 |
90 |
env: GCC_VERSION="8" BUILD_TYPE="Debug" |
91 |
- os: linux |
|
92 |
compiler: gcc |
|
8401.4.38
by Hans Joachim Desserud
And fix indentation... just because |
93 |
env: GCC_VERSION="4.8" BUILD_TYPE="Release" |
94 |
- os: linux |
|
95 |
compiler: gcc |
|
96 |
env: GCC_VERSION="4.9" BUILD_TYPE="Release" |
|
97 |
- os: linux |
|
98 |
compiler: gcc |
|
99 |
env: GCC_VERSION="7" BUILD_TYPE="Release" |
|
8672.1.1
by Hans Joachim Desserud
Build with GCC 8 (newly released) instead of 6 |
100 |
- os: linux |
101 |
compiler: gcc |
|
102 |
env: GCC_VERSION="8" BUILD_TYPE="Release" |