1
0
Fork 0

Reduce amount of testing, realises #1795

This commit is contained in:
Tiger Wang 2015-03-10 22:48:39 +00:00
parent ce6219530a
commit 12971c4ce2
2 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,5 @@
language: cpp language: cpp
compiler: compiler: clang
- gcc
- clang
before_install: before_install:
- if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi - if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi
@ -29,8 +27,6 @@ after_success:
env: env:
- TRAVIS_MCSERVER_BUILD_TYPE=RELEASE MCSERVER_PATH=./MCServer - TRAVIS_MCSERVER_BUILD_TYPE=RELEASE MCSERVER_PATH=./MCServer
- TRAVIS_MCSERVER_BUILD_TYPE=DEBUG MCSERVER_PATH=./MCServer_debug - TRAVIS_MCSERVER_BUILD_TYPE=DEBUG MCSERVER_PATH=./MCServer_debug
- TRAVIS_MCSERVER_BUILD_TYPE=RELEASE TRAVIS_MCSERVER_FORCE32=1 MCSERVER_PATH=./MCServer
- TRAVIS_MCSERVER_BUILD_TYPE=DEBUG TRAVIS_MCSERVER_FORCE32=1 MCSERVER_PATH=./MCServer_debug
matrix: matrix:
include: include:

View File

@ -10,8 +10,8 @@ cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1;
cd src cd src
lua CheckBasicStyle.lua lua CheckBasicStyle.lua
cd .. cd ..
make -j 2; make -j 4;
make -j 2 test; make -j 4 test;
cd MCServer/; cd MCServer/;
if [ "$TRAVIS_MCSERVER_BUILD_TYPE" != "COVERAGE" ] if [ "$TRAVIS_MCSERVER_BUILD_TYPE" != "COVERAGE" ]
then echo stop | $MCSERVER_PATH; then echo stop | $MCSERVER_PATH;