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

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Project root directory cleanup.
Moved shell scripts into .travis directory
  • Loading branch information
jgebal committed Aug 24, 2016
commit 86d70ba950fb5adffdd6900a77ac6abb6bba2bdc
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ install:
- bash .travis/oracle/install.sh

script:
- bash install.sh
- bash examples.sh
- bash test.sh
- bash .travis/install.sh
- bash .travis/examples.sh
- bash .travis/test.sh

notifications:
slack: utplsql:oiMuXO95TvKeAUENuDt4cPrB
Expand Down
16 changes: 16 additions & 0 deletions .travis/create_utplsql_user.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
whenever sqlerror exit failure rollback
whenever oserror exit failure rollback
set echo off
set feedback off
set heading off
set verify off

define ut3_user = &1
define ut3_pass = &2
define ut3_tablespace = &3

create user &ut3_user identified by &ut3_pass default tablespace &ut3_tablespace quota unlimited on &ut3_tablespace;

grant create session, create procedure, create type, create table to &ut3_user;

exit success
File renamed without changes.
5 changes: 3 additions & 2 deletions install.sh → .travis/install.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash

set -ev

echo "$(dirname "$(readlink -f "$0")")"
#create user
"$ORACLE_HOME/bin/sqlplus" -L -S / AS SYSDBA <<SQL
@@install/create_utplsql_user.sql ut3 ut3 users
set echo off
@@$(dirname "$(readlink -f "$0")")/create_utplsql_user.sql ut3 ut3 users
SQL

cd source
Expand Down
File renamed without changes.
33 changes: 0 additions & 33 deletions install/create_utplsql_user.sql

This file was deleted.