aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-05-22 10:15:16 +0200
committerLukas Larsson <[email protected]>2018-05-22 10:50:58 +0200
commit61d12b823a232d0f4c27c006b8111faf46c75d5d (patch)
treeb37f8c7d6e144be3f6f8a30659d31da278af1dd1
parentdd3d4d3e7848c63406c346a8ec600b96130da56e (diff)
downloadotp-61d12b823a232d0f4c27c006b8111faf46c75d5d.tar.gz
otp-61d12b823a232d0f4c27c006b8111faf46c75d5d.tar.bz2
otp-61d12b823a232d0f4c27c006b8111faf46c75d5d.zip
travis: Do release when building 32-bit
This is done in order to check that installation works as it should.
-rw-r--r--.travis.yml2
-rwxr-xr-xscripts/build-otp4
2 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5499eb22c4..1438ea865a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,7 +28,7 @@ matrix:
services:
- docker
script:
- - ./scripts/build-docker-otp 32 sh -c "scripts/build-otp && ./otp_build tests && scripts/run-smoke-tests && bin/dialyzer --build_plt --apps erts kernel stdlib"
+ - ./scripts/build-docker-otp 32 sh -c "scripts/build-otp release && ./otp_build tests && scripts/run-smoke-tests && bin/dialyzer --build_plt --apps erts kernel stdlib"
- env: Linux64Dialyzer
os: linux
script:
diff --git a/scripts/build-otp b/scripts/build-otp
index 92031c79c8..ad0eb07359 100755
--- a/scripts/build-otp
+++ b/scripts/build-otp
@@ -40,4 +40,8 @@ do_and_log "Autoconfing" autoconf
do_and_log "Configuring" configure
do_and_log "Building OTP" boot -a
+if [ $1 = "release" ]; then
+ do_and_log "Releasing OTP" release -a
+fi
+
exit 0