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

Skip to content

Commit 9818895

Browse files
committed
Code cleanup.
1 parent 37b54e4 commit 9818895

8 files changed

Lines changed: 2 additions & 343 deletions

File tree

.travis.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1-
dist: trusty
21
sudo: false
32
language: python
43

54
env:
65
global:
7-
#- ORACLE_COOKIE=sqldev
8-
#- ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
9-
#- ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
10-
#- NLS_LANG=AMERICAN_AMERICA.AL32UTF8
11-
#- ORACLE_BASE=/u01/app/oracle
12-
#- LD_LIBRARY_PATH=$ORACLE_HOME/lib
13-
#- PATH=$PATH:$ORACLE_HOME/jdbc/lib:$ORACLE_HOME/bin
14-
#- DATABASE_VERSION=11.2.0.2
15-
#- ORACLE_SID=XE
16-
#- DATABASE_NAME=XE
17-
#- ORA_SDTZ='Europe/London' #Needed as a client parameter
18-
#- TZ='Europe/London' #Needed as a DB Server parameter
196
- UT3_OWNER=ut3
207
- UT3_OWNER_PASSWORD=ut3
218
- UT3_OWNER_TABLESPACE=users
@@ -40,9 +27,6 @@ env:
4027
addons:
4128
apt:
4229
packages:
43-
#packages required by oracle
44-
#- bc
45-
#- rpm
4630
- unzip
4731
- oracle-java8-set-default
4832

@@ -51,22 +35,13 @@ services:
5135

5236
cache:
5337
directories:
54-
#- .cache
55-
#- $HOME/.cache
5638
- $CACHE_DIR
5739

58-
#before_install:
59-
# On trusty, download the zip file into a cachable directory
60-
#- test "$DIST" = precise || export ORACLE_ZIP_DIR=$CACHE_DIR
61-
# If the zip file already exists, do not download it again
62-
#- test -f "$ORACLE_ZIP_DIR"/$(basename $ORACLE_FILE) || bash .travis/oracle/download.sh
63-
6440
install:
6541
- pip install -r .travis/python_req.txt
6642
- npm install -g phantomjs-prebuilt casperjs
6743
- bash .travis/install_sqlcl.sh
6844
- bash .travis/start_db.sh
69-
#- bash .travis/oracle/install.sh
7045

7146
script:
7247
- CONTAINER_IP=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' $ORACLE_VERSION)
@@ -80,8 +55,7 @@ script:
8055
- bash .travis/run_examples_as_owner.sh
8156
- bash .travis/run_test_as_owner.sh
8257
- bash .travis/run_examples_as_user.sh
83-
#- bash .travis/create_release.sh
84-
58+
# - bash .travis/create_release.sh
8559
# - bash .travis/run_test_as_user.sh
8660
# - bash .travis/build_docs.sh
8761
# - bash .travis/push_docs_to_gh_pages.sh
@@ -99,5 +73,3 @@ script:
9973

10074
# notifications:
10175
# slack: utplsql:oiMuXO95TvKeAUENuDt4cPrB
102-
103-

.travis/install_sqlcl.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ set -ev
44
SQLCL_FILE=sqlcl-4.2.0.16.355.0402-no-jre.zip
55
cd .travis
66

7-
begin=$(date +"%s")
8-
97
# Download if not present on cache dir.
108
if [ ! -f $CACHE_DIR/$SQLCL_FILE ]; then
119
sh download.sh -p sqlcl
@@ -15,9 +13,5 @@ fi;
1513
# Install sqlcl.
1614
unzip -q $CACHE_DIR/$SQLCL_FILE -d $HOME
1715

18-
end=$(date +"%s")
19-
diff=$(($end-$begin))
20-
echo "$(($diff / 60)) minutes and $(($diff % 60)) to download and install SQLCL."
21-
2216
# Check if it is installed correctly.
2317
$SQLCLI -v

.travis/oracle/LICENSE

Lines changed: 0 additions & 5 deletions
This file was deleted.

.travis/oracle/README.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

.travis/oracle/download.js

Lines changed: 0 additions & 127 deletions
This file was deleted.

.travis/oracle/download.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

.travis/oracle/install.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)