forked from fancycode/MemoryModule
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
22 lines (18 loc) · 898 Bytes
/
.travis.yml
File metadata and controls
22 lines (18 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
env:
- PLATFORM=x86_64 WINE=wine64 UNICODE=
- PLATFORM=i686 WINE=wine UNICODE=
- PLATFORM=x86_64 WINE=wine64 UNICODE=1
- PLATFORM=i686 WINE=wine UNICODE=1
language: cpp
cache:
- apt
before_install:
- sudo apt-get update -qq
- sh -c "if [ '$PLATFORM' = 'i686' ]; then sudo apt-get install -qq wine gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev; fi"
- sh -c "if [ '$PLATFORM' = 'x86_64' ]; then sudo apt-get install -qq wine gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev; fi"
script:
- make PLATFORM=$PLATFORM UNICODE=$UNICODE
- make test PLATFORM=$PLATFORM UNICODE=$UNICODE
- cd example/DllLoader
- WINEPREFIX=`pwd`/$WINE WINEPATH=/usr/lib/gcc/$PLATFORM-w64-mingw32/4.6/ $WINE ./DllLoader.exe
- WINEPREFIX=`pwd`/$WINE WINEPATH=/usr/lib/gcc/$PLATFORM-w64-mingw32/4.6/ $WINE ./DllLoaderLoader.exe