unicorn/.travis.yml
Stephen da21bd0589 Start moving examples in S files (#851)
* Move assembly to S files

* more assembly files

* osx compilation change

* makefile mistake

* add objcopy from crosstool

* use gobjcopy on osx

* start cmocka install cleanup

* move wget to directory option

* move back to cd

* fix copy

* First cut

* free allocated memory

* bad idea

too much switching between python and c

* add debug

* cleanup bad size
2017-06-25 10:14:22 +08:00

34 lines
827 B
YAML

language: c
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cmocka crosstool-ng; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
script:
- make && make -C bindings/go && make -C bindings/go test && make test
compiler:
- clang
- gcc
os:
- linux
- osx
matrix:
include:
- os: linux
dist: trusty
compiler: gcc
- os: linux
dist: trusty
compiler: clang
- os: osx
script: brew install --HEAD unicorn && brew test unicorn
compiler: gcc
- os: osx
script: brew install --HEAD unicorn && brew test unicorn
compiler: clang
allow_failures:
- os: osx
script: brew install --HEAD unicorn && brew test unicorn
addons:
apt:
packages:
# mingw-w64 packages too old in precise