Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Reworking install script to run some actions only on the first JOB (1…
…1g - fastest):

- testing of code uninstall process
- checking code style validity
  • Loading branch information
jgebal committed Jul 29, 2018
commit 591c14b707f03bf579f02ce5ddfca7f17623c5b3
3 changes: 2 additions & 1 deletion .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ alter session set plsql_optimize_level=0;
@install_headless.sql $UT3_OWNER $UT3_OWNER_PASSWORD
SQL

if [ "$TRAVIS_JOB_ID" == "1" ]; then
#Run this step only on first job slave (11.2 - at it's fastest)
if [[ "${TRAVIS_JOB_NUMBER}" =~ \.1$ ]]; then

#check code-style for errors
time "$SQLCLI" $UT3_OWNER/$UT3_OWNER_PASSWORD@//$CONNECTION_STR @../development/utplsql_style_check.sql
Expand Down