diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4460939 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: cpp +compiler: + - clang +before_script: + - sudo apt-get update -qq + - sudo apt-get install -y g++-multilib libc6-dev-i386 +script: + - cd project && make all +after_success: + - curl --ftp-create-dirs -T ./release/yapb.so -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/release/yapb.so + - curl --ftp-create-dirs -T ./debug/yapb.so -u $FTP_USER:$FTP_PASS ftp://$FTP_HOST/project/debug/yapb.so diff --git a/project/makefile b/project/makefile index 88315da..da022a6 100644 --- a/project/makefile +++ b/project/makefile @@ -52,7 +52,7 @@ endif LINK += -m32 -lm -ldl -CFLAGS += -DHAVE_STDINT_H -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -fno-strict-aliasing -m32 -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -Wno-c++11-compat-deprecated-writable-strings +CFLAGS += -DHAVE_STDINT_H -D__extern_always_inline=inline -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -fno-strict-aliasing -m32 -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -Wno-c++11-compat-deprecated-writable-strings CPPFLAGS += -Wno-invalid-offsetof -fno-exceptions -fno-rtti BINARY = $(PROJECT).$(LIB_EXT)