File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ before_install:
34
34
- .travis/oracle/download.sh
35
35
# download latest utPLSQL develop branch
36
36
- 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[@]}")
38
39
39
40
install :
40
41
# Install Oracle Database
@@ -48,6 +49,6 @@ install:
48
49
49
50
script :
50
51
# 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
52
53
# Run sonar scanner and publish to sonar
53
54
- sonar-scanner
You can’t perform that action at this time.
0 commit comments