diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..bd7085aeb7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: cpp +sudo: false +before_install: + - export LD_LIBRARY_PATH=`pwd`/tests/:$LD_LIBRARY_PATH +script: + - ./make.sh + - make check + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cp libcapstone.so bindings/python/; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cp libcapstone.dylib bindings/python/; fi + - cd bindings/python && make check +compiler: + - clang + - gcc +os: + - linux + - osx