Files
jpexs-decompiler/travis/script.sh
Jindra Petřík 73b5677307 Separating travis scripts to travis directory
Making travis build even if not on repository owner branch
(On pull requests from other users there's no website password secure 
variable available - build without making nightly build)
2016-09-20 20:36:30 +02:00

11 lines
398 B
Bash

#!/bin/bash
# If we've got website password, we can upload nightly builds.
# Travis secure variable $website_password is not available from outside
# of jpexs repository (e.g pull requests from other users on GitHub)
if [ -z ${website_password+x} ]; then
# create nightly build
ant new-version-nightlybuild
else
# just make private release without publishing result
ant all
fi