summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
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