From 23f7856488fb6f723778867a467efcea53edad59 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 10 May 2014 19:02:49 +0200 Subject: Travis improvements - Parallelized pre-re and re tests - Added mapserver and script engine tests: this means that travis will detect parse errors in scripts as well as the source now) Signed-off-by: Haru --- .travis.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 4de81e6a8..a7f6a789f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,14 +2,23 @@ language: c compiler: - clang - gcc + +install: + - ./travis.sh getplugins || true before_script: - - uname -a + - uname -a + - ./travis.sh createdb ragnarok root + - ./travis.sh importdb ragnarok travis + - mysql -u root -e "SET PASSWORD FOR 'travis'@'localhost' = PASSWORD('travis');" script: - - ./configure --enable-debug && make sql -j3 && ./map-server --version - - make clean - - ./configure --disable-renewal --enable-debug && make sql -j3 && ./map-server --version + - ./travis.sh build $CONFIGURE_FLAGS + - ./travis.sh test ragnarok travis travis + +env: + - CONFIGURE_FLAGS="--enable-debug" + - CONFIGURE_FLAGS="--disable-renewal --enable-debug" notifications: email: false -- cgit v1.2.3-60-g2f50