aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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