forked from wvanbergen/node-vertica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
19 lines (17 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: node_js
node_js:
- "4"
- "6"
- "7"
before_install:
- sudo wget -nv https://s3.amazonaws.com/circle-support-bucket/vertica_7.0.1-0_amd64.deb
- sudo dpkg -i vertica_7.0.1-0_amd64.deb
- sudo /opt/vertica/sbin/install_vertica --failure-threshold HALT --accept-eula --dba-user-password dbadmin --license CE -s localhost
- sudo -u dbadmin /opt/vertica/bin/adminTools -t create_db --database ci -s localhost -p dbadmin
- sudo -u dbadmin openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /home/dbadmin/ci/v_ci_node0001_catalog/server.key -out /home/dbadmin/ci/v_ci_node0001_catalog/server.crt -batch
- sudo -u dbadmin chmod 600 /home/dbadmin/ci/v_ci_node0001_catalog/server.key /home/dbadmin/ci/v_ci_node0001_catalog/server.crt
- sudo -u dbadmin /opt/vertica/bin/adminTools -t stop_db --database ci -p dbadmin
- sudo -u dbadmin sh -c 'echo "EnableSSL = 1" > /home/dbadmin/ci/v_ci_node0001_catalog/vertica.conf'
- sudo -u dbadmin /opt/vertica/bin/adminTools -t start_db --database ci -p dbadmin
before_script:
- cp ./test/connection.json.example ./test/connection.json