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

Skip to content

Commit 591c14b

Browse files
committed
Reworking install script to run some actions only on the first JOB (11g - fastest):
- testing of code uninstall process - checking code style validity
1 parent 69d504f commit 591c14b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.travis/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ alter session set plsql_optimize_level=0;
1313
@install_headless.sql $UT3_OWNER $UT3_OWNER_PASSWORD
1414
SQL
1515

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

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

0 commit comments

Comments
 (0)