-
Notifications
You must be signed in to change notification settings - Fork 189
Expand file tree
/
Copy path.travis.yml
More file actions
51 lines (41 loc) · 1.19 KB
/
.travis.yml
File metadata and controls
51 lines (41 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
sudo: required
language: bash
env:
global:
- ORACLE_COOKIE=sqldev
- ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
- ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
- NLS_LANG=AMERICAN_AMERICA.AL32UTF8
- ORACLE_BASE=/u01/app/oracle
- LD_LIBRARY_PATH=$ORACLE_HOME/lib
- PATH=$PATH:$ORACLE_HOME/jdbc/lib:$ORACLE_HOME/bin
- DATABASE_VERSION=11.2.0.2
- ORACLE_SID=XE
- DATABASE_NAME=XE
- ORA_SDTZ='Europe/London' #Needed as a client parameter
- TZ='Europe/London' #Needed as a DB Server parameter
addons:
apt:
packages:
#packages required by oracle
- bc
- rpm
- unzip
# - libaio1
cache:
directories:
- .cache
- $HOME/.cache
before_install:
# On trusty, download the zip file into a cachable directory
- test "$DIST" = precise || export ORACLE_ZIP_DIR=$HOME/.cache
# If the zip file already exists, do not download it again
- test -f "$ORACLE_ZIP_DIR"/$(basename $ORACLE_FILE) || bash .travis/oracle/download.sh
install:
- bash .travis/oracle/install.sh
script:
- bash .travis/install.sh
- bash .travis/examples.sh
- bash .travis/test.sh
notifications:
slack: utplsql:oiMuXO95TvKeAUENuDt4cPrB