diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-06-06 18:17:46 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-06-06 18:17:46 +0200 |
commit | 4bfba5a561dfaed303ffbd56a392bf631213b6e8 (patch) | |
tree | 46ceafc25ef685cb521ba318085a4099355fb704 | |
parent | a5819bdadd5a6acbe7051794615e11fd697a4036 (diff) |
CI/Travis: Disable PCH and build without optimizations
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 77b8b181392..705fbe9c949 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ install: - mysql -uroot -e 'create database test_mysql;' - mkdir bin - cd bin - - cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS="dynamic" -DSERVERS=1 -DNOJEM=1 -DWITH_DYNAMIC_LINKING=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_INSTALL_PREFIX=check_install + - cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=0 -DUSE_SCRIPTPCH=0 -DTOOLS=1 -DSCRIPTS="dynamic" -DSERVERS=1 -DNOJEM=1 -DWITH_DYNAMIC_LINKING=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Werror -DNDEBUG" -DCMAKE_CXX_FLAGS="-Werror -DNDEBUG" -DCMAKE_INSTALL_PREFIX=check_install - cd .. - chmod +x contrib/check_updates.sh @@ -36,7 +36,7 @@ script: - cat sql/updates/hotfixes/master/*.sql | mysql -utrinity -ptrinity hotfixes - mysql -uroot < sql/create/drop_mysql.sql - cd bin - - make -j 8 -k && make install + - make -j 4 -k && make install - cd check_install/bin - ./bnetserver --version - ./worldserver --version |