diff --git a/.travis.yml b/.travis.yml index 4bb79d4..c1f85c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,4 +58,8 @@ deploy: branch: develop notifications: - slack: $SLACK_API_TOKEN + slack: + rooms: + - secure: "jTPq4AcWQdWp1rB175c05ei/1lXZF1DBoqiKl9PPe7f8vqXS2QLPXMwGTEkZ1YnqL2MPZMB+50Gw5RhLKQ+t+9pN7ejLO0D8ULi1e96PDU5ZL5pNvRglH6U/lR5iT1CjELUuraDXDJ98Vu4gluLMiwTtFYQhNrOoA2V84L+8fF7rGjbGl4/zOXA9RQ4YAcOomJesb4vE7BCjhDjUuMW43xjNWg2s0WAiF+fC1HY/tsBMb1CGfpVULnO5ES5bKtUv/aGtySzH0vXilGDUvhZ/8mdaRn6uxpzcqrFdAyW8elSD28CypcYoxy6Myudw3SFiRPs0/Z02VXvm8DQtU/lcFEnaO7dMG+FpFhsWbrEjcRS6R7ve8uc7e/WuaQhtNVzSTOzRe+JFPGP9FOcYN+AcW2NJFILV9yT7+X/MPIB0OMxuwaPmVgtoyx0oec2nw05azmDr76P2e1XLnKtxa8ouwvPx8EMgApnXSR6VmLGu/w8nmtvIWjEAJ88cdGhwBagtyAsn2frzHq8aKpMziDRYvw4ivwGAeHJFsDtdRXzSbxhxmjl6+is3P0g0iAfojQ/Pzd4GugSYwqRQLLE7dUE0FAKXhKAAQAkjRZxik2+w6jgG8PuLuHdR4pm7C9srL+WAX8aFq/RQXE7BoIdqiZ5TMekw8d6eCRTjcRHsa3pPAd0=" + on_success: change + on_failure: always diff --git a/.travis/create_release.sh b/.travis/create_release.sh index 739558a..1febb01 100644 --- a/.travis/create_release.sh +++ b/.travis/create_release.sh @@ -6,8 +6,9 @@ VERSION=`date +%Y%m%d%H%M` mkdir dist mv target/appassembler utPLSQL-cli # Remove Oracle libraries du to licensing problems -rm utPLSQL-cli/lib/ojdbc8* -rm utPLSQL-cli/lib/orai18n* +rm utPLSQL-cli/lib/ucp*.jar +rm utPLSQL-cli/lib/ojdbc8*.jar +rm utPLSQL-cli/lib/orai18n*.jar zip -r -q dist/utPLSQL-cli-${TRAVIS_BRANCH}-${VERSION}.zip utPLSQL-cli zip -r -q utPLSQL-cli.zip utPLSQL-cli diff --git a/README.md b/README.md index 88d2318..945d052 100644 --- a/README.md +++ b/README.md @@ -19,19 +19,27 @@ You can also download all development versions from [Bintray](https://bintray.co * [Java SE Runtime Environment 8](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) * When using reporters for Sonar or Coveralls client needs to be invoked from project's root directory. * Due to Oracle license we can't ship the necessary oracle libraries directly with utPLSQL-cli. Please download the libraries directly from oracle website and put the jars into the "lib" folder of your utPLSQL-cli installation - * Oracle JDBC driver: http://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html - * If you are on a 11g database you might need the orai18n library, too: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html + * Oracle `ojdbc8` driver + * Oracle `ucp` library + * If you are on a 11g database with non0standard NLS settings, you will also need the `orai18n` library. + * All of the above can be downloaded from [Oracle download site](http://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html) ## Compatibility The latest CLI is always compatible with all database frameworks of the same major version. For example CLI-3.0.4 is compatible with database framework 3.0.0-3.0.4 but not with database framework 2.x. ## Usage -utplsql run \ [-p=(ut_path|ut_paths)] [-f=format [-o=output_file] [-s] ...] + +`utplsql run [-p=(ut_path|ut_paths)] [-f=format [-o=output_file] [-s] ...]` ``` - - /@//[:]/ OR /@ OR /@:: - To connect using TNS, you need to have the ORACLE_HOME environment variable set. + - accepted formats: + /@//[:]/ + /@:: + /@ + To connect using TNS, you need to have the ORACLE_HOME environment variable set. + The file tnsnames.ora must exist in path %ORACLE_HOME%/network/admin + The file tnsnames.ora must contain valid TNS entries. -p=suite_path(s) - A suite path or a comma separated list of suite paths for unit test to be executed. The path(s) can be in one of the following formats: schema[.package[.procedure]] diff --git a/pom.xml b/pom.xml index 921bb7c..eef3a59 100644 --- a/pom.xml +++ b/pom.xml @@ -45,6 +45,7 @@ 1.10 true + true etc lib flat