summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2019-07-18 00:58:15 +0200
committerbartus2019-11-16 22:38:26 +0100
commitb0f02a3da6d529ac7045cffeffe2b76d2d047990 (patch)
treeca05e1c98c3bf842785a1e4a0779e0d9a05722e5
parentc22e8d7e8759069373c17e675eb012bc5b72a9b8 (diff)
downloadaur-b0f02a3da6d529ac7045cffeffe2b76d2d047990.tar.gz
Travis: normalize TRAVIS variable {0|1}
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 6fc95a486a4..3abd99d26d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,6 +51,9 @@ arch:
echo -e "#!/bin/sh -\n/usr/bin/ccache $_gcc \"\$@\"" | sudo dd of=/opt/cuda/bin/gcc
echo -e "#!/bin/sh -\n/usr/bin/ccache $_gpp \"\$@\"" | sudo dd of=/opt/cuda/bin/g++
sudo chmod +x /opt/cuda/bin/{nvcc,g{cc,++}}
+# Normalize TRAVIS variable
+ - |
+ [ "$TRAVIS" == "true" ] && TRAVIS=1 || TRAVIS=0
# Build
- ccache -s
- timeout 35m makepkg -s --noconfirm | ts -s '[%.T]'