Ignacio R. Morelle
2b12dd8e42
travis: Enable ccache support
...
This should halve build times in the best case, and only seems to expose
one GCC warning-related issue that will be addressed by the next commit.
Actual build times will continue to vary wildly based on the kind of
changes people push and the build's I/O-bound nature triggering the
limitations inherent to shared hosting services.
2016-10-16 05:04:27 -03:00
Celtic Minstrel
8e8cbfb5d2
Fix for Travis compiling C file with g++/clang++
2016-09-08 16:28:30 -04:00
Celtic Minstrel
414ef85309
Travis: Stop using GCC 4.7
2016-08-08 23:28:46 -04:00
Andreas Löf
9e6cba5cfd
Remove clang -O0 target from travis
2016-06-04 10:15:37 +12:00
Andreas Löf
bdc2f06c11
Fix the travis linking issue with cmake and g++-4.7.
...
This explicitly adds the dependencies to wesnoth to control the order
of the linking in order to avoid linker errors due to parameter order.
Also take out -O parameter to the cmake build as it's not used since
cmake has its own settings for a release build.
2016-06-04 08:48:02 +12:00
Andreas Löf
575b6dbb0b
attempt to make scons builds run again
2016-06-03 08:46:59 +12:00
Andreas Löf
a3831fead2
Various fixes to make travis happier
...
Take out the clag to suppress warnings for lua in clang as it's not needed.
Make cmake builds in travis verbose.
Fix uninitialised variables that clang picks up on in cmake builds.
2016-06-02 22:37:39 +12:00
Andreas Löf
102da8c757
make cmake builds tests when they are enabled in travis
2016-06-02 21:33:00 +12:00
Andreas Löf
ac8d026c6f
make cmake buils honour the NLS flag
2016-06-02 21:18:29 +12:00
Andreas Löf
7528852484
attempt to make travis also compile with cmake
2016-06-02 20:57:56 +12:00
aquileia
23abf97f36
travis: Add C++14 build with g++-5
...
For now, C++14 builds are allowed to fail.
2016-04-20 03:57:53 +02:00
aquileia
a58dee4daf
travis: Reorder before_install instructions
2016-04-20 03:57:53 +02:00
gfgtdf
c9ecd5a15d
disable c++14 build
...
Travis fails to build with c++14 because the default installed compiler (or rather the default libstdc++ from gcc 4.8) doesn't support it, i tried to fix it by changing the the install script to install gcc5 but somhow that failed too.
Since noone in our active dev team can fix this, we disable this for now. But i'd be useful if this was reenabled and fixed at some point.
2016-04-07 01:00:56 +02:00
Celtic Minstrel
2d72d1512b
Attempt to fix Travis build
2016-04-04 17:00:41 -04:00
gfgtdf
90cd3bacc8
attempt to fix travis c++14 build
2016-04-01 22:29:00 +02:00
gfgtdf
ae09f7975b
Add c++14 test to travis
2016-04-01 18:55:51 +02:00
Celtic Minstrel
3eb45c6b2c
Travis: Force GCC version 4.7
2016-03-30 18:40:49 -04:00
loonycyborg
f962431710
travis: install boost.thread too
2016-03-31 00:59:17 +03:00
Celtic Minstrel
d7c58276c2
Travis: Make all builds C++11
2016-03-30 01:04:45 -04:00
Andreas Löf
a815d35370
Add SDL2 to the travis install image
2015-09-15 22:27:37 +12:00
aquileia
fa2003e755
Travis: Switch to Ubuntu 14.04
...
scons & xvfb aren't preinstalled on the Trusty workers, but gcc 4.8 is.
'sudo: 9000' would be functionally equivalent to 'sudo: required' +
'services: - docker', but Travis' staff seems to prefer the former.
2015-09-03 17:12:01 +02:00
Quentin Pradet
c2808da642
Prefix apt-get -qq with
travis_wait`
...
`apt-get -qq` is completely quiet. If `apt-get` takes more than 10
minutes to execute, nothing will be outputted for 10 minutes, and travis
will kill the build. Using `travis_wait` ensures the commands will not be
killed for 20 minutes. See [the documentation] for details.
[the documentation]: http://docs.travis-ci.com/user/build-timeouts/#Build-times-out-because-no-output-was-received )
2015-08-04 09:59:57 +02:00
Ignacio R. Morelle
96b92c99bf
travis: Use -pipe to pipe compiler output directly into the assembler
...
Instead of using temporary files.
2015-05-29 05:29:35 -03:00
Ignacio R. Morelle
2dc58348e4
travis: Use saucy from old-releases.ubuntu.com
...
saucy went EOL about a year ago so it's no longer in the main mirrors.
2015-04-25 04:02:15 +00:00
Chris Beck
5c9bb9345c
travis: enable MP_TEST on -O0, reduce wml test timer
2014-12-28 19:40:10 -05:00
Chris Beck
978ae9ebc3
travis: fixup 02 vs O0 build
...
fixes up commit b70bfddcde
2014-12-28 18:46:20 -05:00
Chris Beck
826c447595
travis: remove "time" utility, travis has a new feature for this
2014-12-28 14:16:14 -05:00
Chris Beck
6695365efb
travis: ignore error code 200 from test executable if repeats 10x
2014-12-28 14:14:32 -05:00
Chris Beck
faeab22934
travis: refactor script, try to fix utf8 check program
2014-12-28 14:08:38 -05:00
Chris Beck
b70bfddcde
travis: restore descriptive names
...
The descriptive names in this commit
3b13ac21da
were somehow lost in the subsequence commit, I think it was due to
a mistake with git-new-work-dir.
2014-12-24 04:25:46 -05:00
Chris Beck
96c35f6560
move WML [redraw] impl to lua
2014-12-24 02:44:31 -05:00
Chris Beck
3b13ac21da
travis: replace build numbers with descriptive names
2014-12-24 02:09:14 -05:00
Chris Beck
d4440b34cd
travis: fixup HEAD^ (conjunctions)
2014-12-24 02:01:28 -05:00
Chris Beck
ba95d7eed3
travis: fixup $CXX check
2014-12-24 01:46:52 -05:00
Chris Beck
8328bdd5c3
travis: disable a warning for clang c++11 build
2014-12-24 00:47:18 -05:00
Chris Beck
1fad866dc7
travis: refactor, add a clang C++11 build
...
merged build types 1 and 2
2014-12-24 00:37:13 -05:00
Chris Beck
3101348e5e
travis: enable tests on the C++11 build
2014-12-22 01:35:13 -05:00
Chris Beck
db12a4874a
travis: enable all tests on the gcc build again
...
this is possible because the build parallelism has sped things up
enough
2014-12-22 00:37:53 -05:00
Chris Beck
e3bc595fff
travis: add mp unit tests to travis build #3 (clang -O2)
2014-12-19 19:47:29 -05:00
Chris Beck
c9d655a567
travis: remove apt-get upgrade
2014-12-17 23:35:18 -05:00
Chris Beck
844f79501e
travis: fixup previous commit
2014-12-17 23:12:29 -05:00
Chris Beck
57b3154c80
travis: fixup previous commit
2014-12-17 23:06:07 -05:00
Chris Beck
df57b4b546
travis: fix obscure bug related to apt-get ugprade
...
http://serverfault.com/questions/563073/postgresql-9-3-installation-fails
2014-12-17 22:45:24 -05:00
Chris Beck
469f859240
travis: enable x2 build parallelism
...
Travis claims the linux build environment has two cores available,
this is an experiment to see if jobs=2 improves the build time.
2014-12-14 22:18:35 -05:00
Chris Beck
cf57ddf067
travis: only run apt-get upgrade when the cpp unit tests run
2014-12-12 16:55:10 -05:00
Chris Beck
4cb78d9149
travis: skip apt-get upgrade on the CXX11 build
...
it doesn't run the test executable anyways
2014-12-12 14:25:14 -05:00
Chris Beck
3f0aacac0f
travis: add apt-get upgrade (experiment)
2014-12-12 05:58:18 -05:00
Chris Beck
bde498b55b
travis: refactor and clean up
2014-12-12 04:38:41 -05:00
Chris Beck
390e82530f
Update .travis.yml
...
add a report of the actual precise version info of the compiler
2014-11-26 14:13:15 -05:00
Chris Beck
88caf3e21b
travis: fixup HEAD^
2014-11-22 23:59:53 -05:00