-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (24 loc) · 1 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
language: ruby
rvm:
- 1.9.3
env:
- NUODB_HOME=/opt/nuodb NUODB_VERSION=2.0.3
notifications:
recipients:
before_install:
- wget http://download.nuohub.org/nuodb-${NUODB_VERSION}.linux.x64.deb --output-document=/var/tmp/nuodb.deb
- sudo dpkg -i /var/tmp/nuodb.deb
- sleep 2
before_script:
- /opt/nuodb/bin/nuodbmgr --broker localhost --user domain --password bird --command "start process sm database test host localhost archive /var/tmp/nuodb initialize true waitForRunning true"
- /opt/nuodb/bin/nuodbmgr --broker localhost --user domain --password bird --command "start process te database test host localhost options '--dba-user dba --dba-password baz' waitForRunning true"
- echo "create user cloud password 'user';" | ${NUODB_HOME}/bin/nuosql test@localhost --user dba --password baz
script:
- ruby -I"lib:test" test/cases/base_test.rb
after_script:
- sudo dpkg -r nuodb