Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
cuavas committed Jun 9, 2016
1 parent 21aee1a commit 89466e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -23,8 +23,8 @@ env:
script: script:
- if [ $TRAVIS_OS_NAME == 'linux' ]; then - if [ $TRAVIS_OS_NAME == 'linux' ]; then
if [ $CC == 'clang' ]; then if [ $CC == 'clang' ]; then
make -j2 OVERRIDE_CXX="clang++-3.6" OVERRIDE_CC="clang-3.6" && ./$MAME -validate; make -j2 IGNORE_GIT=1 OVERRIDE_CXX="clang++-3.6" OVERRIDE_CC="clang-3.6" && ./$MAME -validate;
else make -j4 OPTIMIZE=0 OVERRIDE_CC="gcc-5" OVERRIDE_CXX="g++-5" && ./$MAME -validate; else make -j4 IGNORE_GIT=1 OPTIMIZE=0 OVERRIDE_CC="gcc-5" OVERRIDE_CXX="g++-5" && ./$MAME -validate;
fi fi
elif [ $TRAVIS_OS_NAME == 'osx' ]; then elif [ $TRAVIS_OS_NAME == 'osx' ]; then
unset LDOPTS && make -j2 OPTIMIZE=0 USE_LIBSDL=1 && ./$MAME -validate; unset LDOPTS && make -j2 OPTIMIZE=0 USE_LIBSDL=1 && ./$MAME -validate;
Expand All @@ -43,4 +43,4 @@ branches:
- master - master
notifications: notifications:
email: false email: false

3 changes: 3 additions & 0 deletions makefile
Expand Up @@ -906,6 +906,9 @@ NEW_GIT_VERSION := $(shell git describe --dirty)
else else
NEW_GIT_VERSION := unknown NEW_GIT_VERSION := unknown
endif endif
ifeq ($(NEW_GIT_VERSION),)
NEW_GIT_VERSION := unknown
endif


GENIE := 3rdparty/genie/bin/$(GENIEOS)/genie$(EXE) GENIE := 3rdparty/genie/bin/$(GENIEOS)/genie$(EXE)


Expand Down

0 comments on commit 89466e4

Please sign in to comment.