forked from sisong/HDiffPatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (30 loc) · 1.2 KB
/
.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
29
30
language: cpp
matrix:
include:
- os: linux
compiler: clang
- os: linux
compiler: gcc
- os: linux
compiler: arm-linux-gnueabi-gcc
addons:
apt:
packages:
- qemu
- gcc-arm-linux-gnueabi
- libc-dev-armel-cross
env: CHOST=arm-linux-gnueabi
- os: osx
osx_image: xcode9.4
script:
- make LZMA=0 ZSTD=0 MD5=0
- make clean
- git clone -b fix-make-build --depth=1 https://github.com/sisong/lzma.git ../lzma
- git clone -b v1.5.0 --depth=1 https://github.com/facebook/zstd.git ../zstd
- git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5
- make DIR_DIFF=0 MT=0
- make clean
- make
- # if [[ $TRAVIS_OS_NAME == osx ]]; then xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme hdiffz -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin; fi
- # if [[ $TRAVIS_OS_NAME == osx ]]; then xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme hpatchz -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin; fi
- # if [[ $TRAVIS_OS_NAME == osx ]]; then xcodebuild -workspace builds/xcode/HDiffPatch.xcworkspace -scheme unitTest -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin; fi