aboutsummaryrefslogtreecommitdiff
path: root/ci/travis_linux_script
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-01 11:50:53 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-01 11:50:53 -0400
commita458ec9998159dcfcbb013c6202bdd123969dfaf (patch)
tree37d7f6bf5dc265714b8388da465771af211787ad /ci/travis_linux_script
parentc42f7309b695a46b1718c97e79e9015311245270 (diff)
downloadzig-a458ec9998159dcfcbb013c6202bdd123969dfaf.tar.gz
zig-a458ec9998159dcfcbb013c6202bdd123969dfaf.zip
travis: older wine only works with i386 builds
Diffstat (limited to 'ci/travis_linux_script')
-rwxr-xr-xci/travis_linux_script13
1 files changed, 1 insertions, 12 deletions
diff --git a/ci/travis_linux_script b/ci/travis_linux_script
index 9af34dda3a..6112677c8b 100755
--- a/ci/travis_linux_script
+++ b/ci/travis_linux_script
@@ -1,11 +1,10 @@
#!/bin/sh
set -x
+set -e
export CC=clang-5.0
export CXX=clang++-5.0
-which $CC
-which $CXX
echo $PATH
mkdir build
cd build
@@ -14,21 +13,11 @@ make VERBOSE=1
make install
./zig build --build-file ../build.zig test
-./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc
-wine64 test.exe
-
./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc
wine test.exe
-./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-fast
-wine64 test.exe
-
./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-fast
wine test.exe
-# TODO fix bug
-# ./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-safe
-# wine64 test.exe
-
./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-safe
wine test.exe