diff options
Diffstat (limited to 'other/travis/env-windows.sh')
-rw-r--r-- | other/travis/env-windows.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/other/travis/env-windows.sh b/other/travis/env-windows.sh deleted file mode 100644 index 525630ae..00000000 --- a/other/travis/env-windows.sh +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DBOOTSTRAP_DAEMON=OFF -DERROR_ON_WARNING=OFF" | ||
4 | |||
5 | if [ "$JOB" = "toxcore" ]; then | ||
6 | CMAKE=$ARCH-w64-mingw32.shared-cmake | ||
7 | NPROC=`nproc` | ||
8 | CURDIR=/work | ||
9 | RUN_TESTS=true | ||
10 | |||
11 | RUN() { | ||
12 | ./dockcross "$@" | ||
13 | } | ||
14 | |||
15 | TESTS() { | ||
16 | shift # Ignore test run count. | ||
17 | |||
18 | # Download Microsoft DLLs. | ||
19 | curl http://www.dlldump.com/dllfiles/I/iphlpapi.dll -o _build/iphlpapi.dll | ||
20 | curl http://www.dlldump.com/dllfiles/W/ws2_32.dll -o _build/ws2_32.dll | ||
21 | |||
22 | # Copy our dependency DLLs. | ||
23 | ./dockcross sh -c 'cp $WINEDLLPATH/*.dll _build' | ||
24 | |||
25 | # Run tests in docker. | ||
26 | ./dockcross "$@" || { | ||
27 | cat _build/Testing/Temporary/LastTest.log | ||
28 | # Ignore test failures on Windows builds for now. | ||
29 | #false | ||
30 | } | ||
31 | } | ||
32 | elif [ "$JOB" = "installmd" ]; then | ||
33 | true | ||
34 | else | ||
35 | echo "Unsupported JOB=$JOB" | ||
36 | fi | ||