aboutsummaryrefslogtreecommitdiff
path: root/ci/travis_linux_script
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-04-03 10:17:57 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-04-03 11:22:18 -0400
commitaadc14fd78c4137ffcc02e3ba67c0c60100b4d69 (patch)
treecb547daa45a5ed26fc9d0ded1492309a7cfb7e6c /ci/travis_linux_script
parent4eb68987d81cc4a1a92ebb4b5e83be73669801ad (diff)
downloadzig-aadc14fd78c4137ffcc02e3ba67c0c60100b4d69.tar.gz
zig-aadc14fd78c4137ffcc02e3ba67c0c60100b4d69.zip
upload static linux artifacts on successful travis build
Diffstat (limited to 'ci/travis_linux_script')
-rwxr-xr-xci/travis_linux_script22
1 files changed, 3 insertions, 19 deletions
diff --git a/ci/travis_linux_script b/ci/travis_linux_script
index a709539bc7..55e188d55a 100755
--- a/ci/travis_linux_script
+++ b/ci/travis_linux_script
@@ -9,24 +9,8 @@ echo $PATH
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd)
-make VERBOSE=1
-make install
+make -j2 install
./zig build --build-file ../build.zig test
-./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc
-wine zig-cache/test.exe
-
-./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-fast
-wine zig-cache/test.exe
-
-./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-safe
-wine zig-cache/test.exe
-
-./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc
-wine64 zig-cache/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 x86_64 --target-environ msvc --release-safe
-#wine64 test.exe
+mkdir $TRAVIS_BUILD_DIR/artifacts
+docker run -it --mount type=bind,source="$TRAVIS_BUILD_DIR/artifacts",target=/z ziglang/static-base:llvm6-1 -j2 $TRAVIS_COMMIT