Skip to content

Commit ae4a9b8

Browse files
authored
Merge pull request #9 from utPLSQL/feature/fix_build_and_badges
Feature/fix build and badges
2 parents cf01d41 + 3a8b124 commit ae4a9b8

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
sudo: required
22

33
language: java
4+
5+
services:
6+
- docker
7+
48
jdk:
59
- oraclejdk8
610

711
addons:
812
sonarcloud:
13+
# Set this to match your repo - see this doc on how to set details https://docs.travis-ci.com/user/sonarcloud/
914
organization: utplsql
1015
token:
16+
# Put sonar connection token generated and encrypted.
1117
secure: ${SONAR_TOKEN}
12-
branches:
13-
- develop
14-
- master
15-
- test_ut_run_script
1618

1719
env:
1820
global:
@@ -22,8 +24,6 @@ env:
2224
- CONNECTION_STR='127.0.0.1:1521/XE'
2325
- DOCKER_OPTIONS='--shm-size=1g'
2426

25-
# SYS account password for DB - could be stored in Travis secrets
26-
- ORACLE_SYS_PASS="oracle"
2727
# Adding utPLSQL-cli to path - to be able to invoke "utplsql" from command line
2828
- PATH=$PATH:${TRAVIS_BUILD_DIR}/utPLSQL-cli/bin
2929
# Adding Oracle SQLCL to path - to be able to invoke "sql" from command line
@@ -41,6 +41,7 @@ env:
4141
# DOCKER_PASSWORD
4242
# ORACLE_OTN_USER
4343
# ORACLE_OTN_PASSWORD
44+
# DB_SYS_PASSWORD - SYS account password for DB
4445
matrix:
4546
- UTPLSQL_VERSION='develop'
4647
- UTPLSQL_VERSION='v3.0.0' VERSION_PLACEHOLDER='utPLSQL - Version X.X.X.X'

.travis/install_utplsql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -ev
44

55
cd ${UTPLSQL_DIR}/source
66

7-
sql -S -L sys/${ORACLE_SYS_PASS}@//${CONNECTION_STR} AS SYSDBA @install_headless.sql
7+
sql -S -L sys/${DB_SYS_PASSWORD}@//${CONNECTION_STR} AS SYSDBA @install_headless.sql

source/setup_db_account.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -ev
44

5-
sql -L -S sys/${ORACLE_SYS_PASS}@//${CONNECTION_STR} AS SYSDBA <<SQL
5+
sql -L -S sys/${DB_SYS_PASSWORD}@//${CONNECTION_STR} AS SYSDBA <<SQL
66
create user ${DB_USER} identified by ${DB_PASS} quota unlimited on USERS default tablespace USERS;
77
88
grant create session, create procedure, create type, create table, create sequence, create view to ${DB_USER};

0 commit comments

Comments
 (0)