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

Skip to content

Commit 9be1c72

Browse files
committed
Updated project to use client scripts from utPLSQL-sql-cli
1 parent 607c56e commit 9be1c72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ before_install:
3434
- .travis/oracle/download.sh
3535
# download latest utPLSQL develop branch
3636
- git clone --depth 1 --branch develop https://github.com/utPLSQL/utPLSQL.git ${UTPLSQL_DIR}
37-
- cp ${UTPLSQL_DIR}/client_source/sqlplus/* .
37+
- curl -Lk -o client.zip $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL-sql-cli/releases/latest | awk '/zipball_url/ { print $2 }' | sed -r 's/"|,//g')
38+
- echo $(unzip -d client client.zip && f=(client/*) && mv client/*/* . && rm -rf "${f[@]}")
3839

3940
install:
4041
# Install Oracle Database
@@ -48,6 +49,6 @@ install:
4849

4950
script:
5051
# Run tests
51-
- ./ut_run ${DB_USER}/${DB_PASS} -f=ut_documentation_reporter -c -f=ut_coverage_sonar_reporter -o=coverage.xml -f=ut_sonar_test_reporter -o=test_results.xml
52+
- ./ut_run ${DB_USER}/${DB_PASS} -source_path=source -test_path=test -f=ut_documentation_reporter -c -f=ut_coverage_sonar_reporter -o=coverage.xml -f=ut_sonar_test_reporter -o=test_results.xml
5253
# Run sonar scanner and publish to sonar
5354
- sonar-scanner

0 commit comments

Comments
 (0)