Files
fancycode-MemoryModule/.travis.yml
T
2017-11-02 20:15:22 +01:00

45 lines
1.1 KiB
YAML

sudo: false
env:
- PLATFORM=x86_64 UNICODE= CMAKE=
- PLATFORM=i686 UNICODE= CMAKE=
- PLATFORM=x86_64 UNICODE=1 CMAKE=
- PLATFORM=i686 UNICODE=1 CMAKE=
- PLATFORM=x86_64 UNICODE= CMAKE=1
- PLATFORM=i686 UNICODE= CMAKE=1
- PLATFORM=x86_64 UNICODE=1 CMAKE=1
- PLATFORM=i686 UNICODE=1 CMAKE=1
language: cpp
cache:
- apt
- ccache
addons:
apt:
packages:
- binutils-mingw-w64-i686
- binutils-mingw-w64-x86-64
- cmake
- mingw-w64-i686-dev
- mingw-w64-x86-64-dev
- g++-mingw-w64-i686
- g++-mingw-w64-x86-64
- gcc-mingw-w64-i686
- gcc-mingw-w64-x86-64
- wine
before_script:
- if [ ! -z "$CMAKE" ]; then cmake -DPLATFORM=$PLATFORM -DUNICODE=$UNICODE -DTESTSUITE=ON -H. -B.; fi
script:
- if [ -z "$CMAKE" ]; then make PLATFORM=$PLATFORM UNICODE=$UNICODE; fi
- if [ -z "$CMAKE" ]; then make test PLATFORM=$PLATFORM UNICODE=$UNICODE; fi
- if [ ! -z "$CMAKE" ]; then cmake --build .; fi
- cd example/DllLoader
- ../../tests/runwine.sh $PLATFORM ./DllLoader.exe
- ../../tests/runwine.sh $PLATFORM ./DllLoaderLoader.exe
- cd ../../tests
- ./runwine.sh $PLATFORM ./TestSuite.exe