forked from Redridge/open-source-machlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (21 loc) · 798 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: cpp
os:
- osx
- linux
dist:
- trusty
compiler:
- gcc
addons:
apt:
sources:
packages:
branches:
only:
- master
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install capstone; export DYLD_LIBRARY_PATH=/usr/local/opt/capstone/lib/:$DYLD_LIBRARY_PATH; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget http://cz.archive.ubuntu.com/ubuntu/pool/universe/c/capstone/libcapstone3_3.0.4-0.2_amd64.deb; sudo dpkg -i libcapstone3_3.0.4-0.2_amd64.deb; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget http://cz.archive.ubuntu.com/ubuntu/pool/universe/c/capstone/libcapstone-dev_3.0.4-0.2_amd64.deb; sudo dpkg -i libcapstone-dev_3.0.4-0.2_amd64.deb; fi
script:
- make