mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 07:20:33 +00:00
9361378e85
* 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
27 lines
616 B
YAML
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
|