-
Notifications
You must be signed in to change notification settings - Fork 38
/
.travis.yml
32 lines (29 loc) · 1.28 KB
/
.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
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.1
- jruby-9.1.1.0
- jruby-head
- ruby-head
env:
- VERTICA_SERVER_SUPPORTS_SSL=true
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
fast_finish: true
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
- gem update bundler
before_script:
- cp ./test/connection.yml.example ./test/connection.yml