Skip to content

Commit 92056f6

Browse files
committed
Switch to utPLSQL-cli
1 parent 355c744 commit 92056f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ before_install:
3838
# download utPLSQL v.2.3.1 release
3939
- curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/3608515 | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
4040
- unzip -d ${UTPLSQL_V2_DIR} -q utplsql-2-3-1.zip
41-
# download utPLSQL-sql-cli
42-
- 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')
43-
- echo $(unzip -d client client.zip && f=(client/*) && mv client/*/* . && rm -rf "${f[@]}")
41+
# download utPLSQL-cli
42+
- curl -Lk -o utPLSQL-cli.zip https://bintray.com/viniciusam/utPLSQL-cli/download_file?file_path=utPLSQL-cli-develop-201707220325.zip
43+
- unzip -q utPLSQL-cli.zip
4444
# download Oracle XE installer for Travis
4545
- .travis/oracle/download.sh
4646

@@ -61,6 +61,6 @@ install:
6161

6262
script:
6363
# Run tests
64-
- ./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
64+
- utPLSQL-cli/bin/utplsql run ${DB_USER}/${DB_PASS}@127.0.0.1:1521/xe -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
6565
# Run sonar scanner and publish to sonar
6666
- sonar-scanner

0 commit comments

Comments
 (0)