We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72eb3bc commit 2a97024Copy full SHA for 2a97024
1 file changed
.travis/install_sqlcl.sh
@@ -0,0 +1,20 @@
1
+#!/bin/bash
2
+set -e
3
+
4
+SQLCL_FILE=sqlcl-18.3.0.259.2029.zip
5
+cd .travis
6
7
+# Download if not present on cache dir.
8
+if [ ! -f $CACHE_DIR/$SQLCL_FILE ]; then
9
+ npm install -g phantomjs-prebuilt casperjs
10
+ bash download.sh -p sqlcl
11
+ mv $SQLCL_FILE $CACHE_DIR
12
+else
13
+ echo "Installing sqlcl from cache..."
14
+fi;
15
16
+# Install sqlcl.
17
+unzip -q $CACHE_DIR/$SQLCL_FILE -d $HOME
18
19
+# Check if it is installed correctly.
20
+$SQLCLI -v
0 commit comments