fixing travis greenkeeper branches

This commit is contained in:
Kononnable 2018-06-17 22:56:50 +02:00
parent c31a4eba01
commit 1a53be68fc

View File

@ -36,6 +36,8 @@ before_install:
- npm install -g npm@5
- npm install -g greenkeeper-lockfile@1
- mkdir /opt/oracle
install:
- case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac;
before_script:
- if [ -n "$DOCKER_USERNAME" ]; then npm i oracledb --no-save; docker cp typeorm-mg-oracle-client:/usr/lib/oracle/12.2/client64/lib /opt/oracle/instantclient_12_2; fi
- export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_2:$LD_LIBRARY_PATH