From 1a53be68fc5b4dd8a8c94ca76482bcc208a34f69 Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sun, 17 Jun 2018 22:56:50 +0200 Subject: [PATCH] fixing travis greenkeeper branches --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 128252a..5d01e71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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