Chris Beck
56ce328268
travis: enable strict C++11 compilation
2014-11-22 23:56:58 -05:00
Chris Beck
3101d826ed
travis: disable all tests on the translations build
2014-11-19 15:51:30 -05:00
Chris Beck
e02787e3b6
travis: add a dedicated build for translations
2014-11-19 14:40:35 -05:00
Chris Beck
71ca849bcc
travis: disable NLS (translations) on all gcc builds (for speed)
2014-11-13 20:30:47 -05:00
Chris Beck
292452f11c
travis: disable NLS on the C++11 build
...
it is still timing out and i'm running out of options
2014-11-13 18:50:18 -05:00
Chris Beck
d2b7af8711
travis, wml test: incorporate fabi's --noaddons mode as an option
...
It's not necessary since travis has no add-ons but I put it there
anyways as an example to how others should run the mainline tests.
2014-11-05 21:01:58 -05:00
Chris Beck
e0c7bc5175
travis: disable C++ unit tests when doing the CXX11 build
...
it is timing out too often, so don't run them, although we still
build them
2014-11-05 18:30:43 -05:00
Chris Beck
1401bc8d17
fixup travis
2014-11-04 12:47:47 -05:00
Chris Beck
8bf3a0ddd7
make the c++11 build non-strict
...
There's too much warnings for now
2014-11-04 12:45:40 -05:00
Chris Beck
2f160de8a5
show scons parameters in .travis.yml
2014-11-04 12:26:52 -05:00
Chris Beck
2474c37659
fixup travis
2014-11-04 12:11:28 -05:00
Chris Beck
f7dd05a071
fixup .travis.yml
2014-11-04 12:01:40 -05:00
Chris Beck
37ca01a9f7
fixup travis
2014-11-04 11:55:59 -05:00
Chris Beck
043fe01c42
add a CXX11 build to travis
2014-11-04 11:42:31 -05:00
Chris Beck
1bf85228da
move cxx version check to after we install compiler upgrade
2014-11-04 11:39:52 -05:00
Chris Beck
54c602c056
output compiler version info in the travis logs
2014-11-04 10:36:41 -05:00
Chris Beck
da4074e882
use boost mersenne twister rng, add boost::random dependency
...
This is a squash of work done in april, see closed github pull
request. #160
2014-11-03 11:24:24 -05:00
Chris Beck
07657622e2
remove an unnecessary ppa from travis
...
Because we are including saucy now (to get SDL mixer 1.2.12),
adding this test ppa is unnecessary (saucy has g++-4.8), and it
can only serve to confuse / cause us to accidentally get
mismatching lib versions, so I remove it
2014-10-26 22:01:58 -04:00
Chris Beck
48217f8da0
add boost locale to travis
2014-10-25 19:09:04 -04:00
Chris Beck
ac402768ee
add C++ unit test gdb run, in the travis after failure section
2014-10-22 19:30:57 -04:00
Chris Beck
4bb5814c19
disable auto-backtrace for C++ unit tests, try to get stderr again
...
We have some problems where the test executable is not generating
all the right output on travis, it seems not to be getting stdout
or stderr or something. The test executable was being run through
gdb at all times, with commands to backtrace on case of crash.
I'm not sure if gdb is eating the output or what, but for now I
am disabling the feature in the hopes to get the error messages
again.
2014-10-22 16:54:06 -04:00
Chris Beck
5d27285adc
replace raring with saucy, raring is gone...
2014-10-17 16:15:10 -04:00
Alexander van Gessel
656b88d72e
Add a Raring repository to travis
...
This is to allow a newer version of SDL_mixer to be installed.
Conflicts:
.travis.yml
2014-10-17 16:15:10 -04:00
gfgtdf
e038938a73
Merge branch 'boost_filesystem' of https://github.com/AI0867/wesnoth into AI-boost_filesystem_3
...
Conflicts:
.travis.yml
SConstruct
src/campaign_server/campaign_server.cpp
src/create_engine.cpp
src/editor/map/map_context.cpp
src/game_config_manager.cpp
src/gui/dialogs/screenshot_notification.cpp
src/gui/dialogs/wml_error.cpp
src/savegame.cpp
2014-10-17 16:40:45 +02:00
Chris Beck
4903aca9f0
revert prev two commits, go back to gcc 4.8
...
There's some issue about which ubuntu version travis is running,
it seems we can't easily get gcc 4.9 from a PPA.
2014-10-13 14:23:30 -04:00
Chris Beck
6bfb68aaa0
add missing -qq to travis script
...
This should allow to properly install gcc 4.9
2014-10-13 14:18:27 -04:00
Chris Beck
a50fe9d114
use gcc 4.9 instead of 4.8 on travis
2014-10-13 13:59:01 -04:00
Chris Beck
1720f31633
Set travis back to the usual, nonsegfaulting configuration for gcc
...
This reverts commit c9c75e9933
.
and commit c9c75e9933
2014-08-05 22:11:42 -04:00
Chris Beck
c9c75e9933
set travis to use gcc -O2, and to not build the unit tests
2014-07-22 17:14:35 -04:00
Chris Beck
90ca3e7026
set travis to use gcc 4.6 again
2014-07-22 15:41:03 -04:00
Chris Beck
b70068e8dd
small tweaks to .travis.yml
...
Make the alternate build appear after the normal build, slightly
improves readability in the travis log. Also add some line breaks
between different sections.
2014-07-08 19:38:47 -04:00
Chris Beck
f35fe13e4f
remove some (unnecessary, duplicate) comments cluttering travis.yml
2014-07-07 15:19:50 -04:00
Chris Beck
baeac17fa2
move ai playtest and backtrace out of travis.yml to a script
2014-07-07 15:18:35 -04:00
Chris Beck
49be669cd0
move bom search code to a script
2014-07-07 15:14:28 -04:00
Chris Beck
166c69b65f
run test executable through gdb always, on travis
...
We keep getting segfaults that don't reproduce the second time it
is run, so maybe this will catch them.
It also moves the test execution code out into a script.
2014-07-07 15:08:48 -04:00
Chris Beck
3c01715b59
fixup syntax errors in .travis.yml
2014-07-06 17:44:57 -04:00
Chris Beck
59fce33b42
fix syntax error in .travis.yml
2014-07-06 14:54:35 -04:00
Chris Beck
3229d8e44b
remove the play_test with gui from travis script, it doesn't work
2014-07-06 14:08:12 -04:00
Chris Beck
b737b0af96
fixup minor travis after_failure logic
2014-07-06 13:04:38 -04:00
Chris Beck
edd88206a7
add line breaks between the sections in .travis.yml
2014-07-06 13:03:18 -04:00
Chris Beck
8bf15afe5e
travis.yml: put time outside of multiline if
2014-07-06 13:00:33 -04:00
Chris Beck
38a252ad2c
cleanup travis yml file (don't need [[, ]])
2014-07-06 12:58:57 -04:00
Chris Beck
ad402a721f
also run ai test with gui on
2014-07-06 12:58:23 -04:00
Chris Beck
c8d95fb953
run a headless mp test game as part of the travis clang builds
2014-07-06 12:20:35 -04:00
Chris Beck
798a712f28
fix a typo in travis.yml
2014-07-05 19:27:03 -04:00
Chris Beck
f5a950875d
cleanup .travis.yml
...
- Don't install gdb twice
- Time the gdb install
- If the cpp tests return any code >= 128 then apply gdb
- Add some comments
2014-07-05 18:42:59 -04:00
Chris Beck
857b1e4a03
add -g run_wml_tests option to run gdb backtrace in case of crash
...
And use it on travis
2014-07-05 18:30:10 -04:00
Chris Beck
719646d89a
try to fix some travis wierdness
...
by putting time statement outside of the multiline if statement
2014-07-05 17:56:00 -04:00
Chris Beck
f8503ec650
remove debugging output from travis
2014-07-05 14:28:03 -04:00
Chris Beck
9baae9c696
avoid scanning all units for a unit filter which gives a location
...
This adds a specialized implementation of unit filter -- if unit
filter specifies numbers for both x and y (no , - and not "recall")
then to find all matches we just find that position in the unit_map
rather than scan over all units. This happens behind the scenes.
2014-07-05 14:27:00 -04:00