Skip to content

Commit

Permalink
update r774
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed Jan 15, 2015
1 parent 60380bd commit b4d9f60
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ install:
#- if [ "${CXX}" = 'clang++' ]; then sudo apt-get -qq install clang-3.5; fi
#- if [ "${CXX}" = 'clang++' ]; then export CXX="clang++-3.5"; fi
# wine
- if [ "${USE_WINE}" == '1' ]; then sudo apt-get -qq -y install wine; fi
- if [ "${CXX}" == 'winegcc' ]; then sudo apt-get -qq install wine-dev; fi
- if [ "${CXX}" == 'winegcc' ]; then sudo apt-get -qq install g++-4.5; fi
- if [ "${HOST}" == 'WINE' ]; then sudo apt-get -qq -y install wine; fi
# winegcc
- if [ "${WINEGCC}" == '1' ]; then sudo apt-get -qq install wine-dev; fi
- if [ "${WINEGCC}" == '1' ]; then sudo apt-get -qq install g++-4.5; fi
# mingw
- if [ "${CXX}" == 'i686-w64-mingw32-g++' ]; then sudo apt-get -qq install mingw-w64 g++-mingw-w64; fi
- if [ "${MINGW}" == '1' ]; then sudo apt-get -qq install mingw-w64 g++-mingw-w64; fi
# gcov
- if [ "${USE_COVERAGE}" = 'gcov' ]; then sudo easy_install cpp-coveralls; fi
# lcov
Expand All @@ -36,6 +37,12 @@ install:
- if [ "${USE_GTEST}" = '1' ]; then sudo apt-get -qq install libgtest-dev; fi
- if [ "${USE_GTEST}" = '1' ]; then cd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/; cd -; fi

before_script:
# mingw
- if [ "${MINGW}" == '1' ]; then export CXX=i686-w64-mingw32-g++; fi
# winegcc
- if [ "${WINEGCC}" == '1' ]; then export CXX=winegcc; fi

script:
- cd ./test
- make showcxxversion ${USE_FUSE} all
Expand Down Expand Up @@ -72,9 +79,9 @@ matrix:
- compiler: gcc
env: USE_GTEST=1
- compiler: gcc
env: CXX=i686-w64-mingw32-g++ USE_WINE=1
env: MINGW=1 HOST=WINE
#- compiler: gcc
# env: CXX=winegcc USE_WINE=1
# env: WINEGCC=1 HOST=WINE
- compiler: gcc
env: COVERITY_SCAN=1
addons:
Expand Down
2 changes: 1 addition & 1 deletion test/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ifdef OUTPUTXML
CXXFLAGS +=-DOUTPUTXML
endif

ifdef USE_WINE
ifeq ($(HOST),WINE)
WINE_ =wine
else
WINE_ =
Expand Down

0 comments on commit b4d9f60

Please sign in to comment.