summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-09-04 16:16:50 +0200
committerHaru <haru@dotalux.com>2016-09-04 16:17:01 +0200
commitfe6752d119d2d3b9940368782abe704c08296441 (patch)
tree09047a15b924c57743db521abba72a89d1e9980b /.travis.yml
parent00063d1cdda8fa771f17e378a28eba157a74a962 (diff)
downloadhercules-fe6752d119d2d3b9940368782abe704c08296441.tar.gz
hercules-fe6752d119d2d3b9940368782abe704c08296441.tar.bz2
hercules-fe6752d119d2d3b9940368782abe704c08296441.tar.xz
hercules-fe6752d119d2d3b9940368782abe704c08296441.zip
Revert "Coverity Scan"
This reverts commit 00063d1cdda8fa771f17e378a28eba157a74a962. (this commit was accidentally pushed due to automation failure) Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml59
1 files changed, 32 insertions, 27 deletions
diff --git a/.travis.yml b/.travis.yml
index f2f30d67d..62f2f7cbc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,34 +1,25 @@
language: c
sudo: false
addons:
- #apt:
- # sources:
- # - ubuntu-toolchain-r-test
- # packages:
- # - gcc-5
- # - gcc-6
- coverity_scan:
- # GitHub project metadata
- project:
- name: "HerculesWS/Hercules"
- description: "Build submitted via Travis CI"
- #version: 1.0
- # Where email notification of build analysis results will be sent
- notification_email: "haru@dotalux.com"
- # Commands to prepare for build_command
- build_command_prepend: "./configure --enable-debug; make clean"
- # The command that will be added as an argument to "cov-build" to compile your project for analysis,
- build_command: "make"
- # Pattern to match selecting branches that will run analysis.
- branch_pattern: coverity_scan
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-5
+ - gcc-6
-env:
- global:
- # COVERITY_SCAN_TOKEN
- - secure: "gcrI+3sx7SFz9N0NN1Ap+qlrAJjOe9xIxMQkV78LmhBBc8wG3lkSF4ASEf7690yo3bcp0gsvkfIUL8fXl68ImOxgnVTuR7oxCkjHdtCdszsoU8eGU7Kg8H0ggq/8G6493/l6sNUgZodXJOS0oyl0hHzcf5ViVM8EcoyC9USd06U="
+install:
+ - ./travis.sh getplugins || true
+
+before_script:
+ - uname -a
+ - ./travis.sh createdb ragnarok root
+ - ./travis.sh importdb ragnarok travis
+ - mysql -u root -e "SET PASSWORD FOR 'travis'@'localhost' = PASSWORD('travis');"
script:
- - true
+ - ./travis.sh build $CONFIGURE_FLAGS
+ - ./travis.sh test ragnarok travis travis
# We can't use this, unfortunately
# http://github.com/travis-ci/travis-ci/issues/979
@@ -40,12 +31,26 @@ matrix:
exclude:
- env: ignore=this
include:
+ - compiler: clang
+ env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-buildbot"
+ - compiler: clang
+ env: CONFIGURE_FLAGS="--enable-debug --disable-renewal --enable-Werror --enable-buildbot"
+ - compiler: gcc
+ env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-buildbot"
+ - compiler: gcc
+ env: CONFIGURE_FLAGS="--enable-debug --disable-renewal --enable-Werror --enable-buildbot"
+ - compiler: gcc
+ env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-5 --disable-manager --enable-Werror --enable-buildbot"
- compiler: gcc
- env: CONFIGURE_FLAGS="--enable-debug"
+ env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-5 --disable-manager --disable-renewal --enable-Werror --enable-buildbot"
+ - compiler: gcc
+ env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-6 --disable-manager --enable-Werror --enable-buildbot"
+ - compiler: gcc
+ env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-6 --disable-manager --disable-renewal --enable-Werror --enable-buildbot"
notifications:
email: false
-
+
branches:
except:
- rathena