forked from Atlantis-Software/offshore-adapter-tests
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
33 lines (28 loc) · 922 Bytes
/
.travis.yml
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
language: node_js
sudo: required
node_js:
- '0.12'
- '4'
- '5'
- '6'
before_install:
- wget https://raw.githubusercontent.com/Vincit/travis-oracledb-xe/master/accept_the_license_agreement_for_oracledb_xe_11g_and_install.sh
- bash ./accept_the_license_agreement_for_oracledb_xe_11g_and_install.sh
- npm install oracledb
- npm install mysql
- npm install pg
- npm install sqlite3
before_script:
- npm install Atlantis-Software/offshore
- psql -c 'create database offshorepg;' -U postgres
- mysql -e 'create database offshoresql;'
env:
- CXX=g++-4.8 KNEX_TEST_TIMEOUT=60000 ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe PATH=$ORACLE_HOME/bin:$PATH ORACLE_SID=XE OCI_LIB_DIR=/u01/app/oracle/product/11.2.0/xe/lib LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/xe/lib
addons:
postgresql: '9.4'
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- gcc-4.8