capstone/.travis.yml
Stephen 9361378e85 Cleanup build process (#1140)
* Cleanup build process

avoiding bash subshells (which happen in for loops) because they
like to selectively inherit environment variables

* address restrictions of osx sip

see https://github.com/nteract/nteract/issues/1523#issuecomment-284027093
2018-05-25 20:59:30 +08:00

27 lines
616 B
YAML

language: cpp
sudo: false
env:
global:
- LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/tests/:$TRAVIS_BUILD_DIR:$LD_LIBRARY_PATH
script:
- ./make.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./make.sh install; fi
- make check
- cd bindings/python && make check
compiler:
- clang
- gcc
os:
- linux
- osx
matrix:
include:
- if: branch = master
os: osx
script: brew update && brew install --HEAD capstone && brew test capstone
compiler: gcc
- if: branch = master
os: osx
script: brew update && brew install --HEAD capstone && brew test capstone
compiler: clang