diff options
author | Haru <haru@dotalux.com> | 2014-05-10 19:02:49 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-05-10 22:53:03 +0200 |
commit | 23f7856488fb6f723778867a467efcea53edad59 (patch) | |
tree | b05f13d3f1cb2dd6b4a0ae91175cbadb584c7bf5 /.travis.yml | |
parent | 3a5f394cb6ac82e37d03d31cc8ef983a4650e9e7 (diff) | |
download | hercules-23f7856488fb6f723778867a467efcea53edad59.tar.gz hercules-23f7856488fb6f723778867a467efcea53edad59.tar.bz2 hercules-23f7856488fb6f723778867a467efcea53edad59.tar.xz hercules-23f7856488fb6f723778867a467efcea53edad59.zip |
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 <haru@dotalux.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 13 insertions, 4 deletions
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 |