diff --git a/.travis.yml b/.travis.yml index b0be0e5..4104533 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,15 +13,17 @@ env: - DOCKER_CFG=$HOME/.docker - DOCKER_REPO="viniciusam/oracledb" - MAVEN_HOME=/usr/local/maven - - DB_USER=app - - DB_PASS=app + - MAVEN_CFG=$HOME/.m2 + - API_DB_URL="127.0.0.1:1521:XE" + - API_DB_USER=api + - API_DB_PASS=api matrix: - ORACLE_VERSION="11g-xe-r2" CONNECTION_STR="127.0.0.1:1521/XE" DOCKER_OPTIONS="--shm-size=1g" cache: directories: - $DOCKER_CFG - - $HOME/.m2 + - $MAVEN_CFG - $MAVEN_HOME/lib/ext # Used to cache wagon-http lib. install: diff --git a/.travis/create_app_user.sh b/.travis/create_api_user.sh similarity index 83% rename from .travis/create_app_user.sh rename to .travis/create_api_user.sh index 6102082..d273450 100644 --- a/.travis/create_app_user.sh +++ b/.travis/create_api_user.sh @@ -1,7 +1,7 @@ #!/bin/bash set -ev -sqlplus -S -L sys/oracle@//$CONNECTION_STR AS SYSDBA < connectionList;