.travis.yml in jdbc-nuodb-2.0 vs .travis.yml in jdbc-nuodb-2.0.3
- old
+ new
@@ -2,29 +2,29 @@
rvm:
- jruby-head
env:
- - NUODB_ROOT=/opt/nuodb
+ - NUODB_HOME=/opt/nuodb NUODB_VERSION=2.0.3
notifications:
recipients:
- buck.robert.j@gmail.com
- rbuck@nuodb.com
+ - jgetto@nuodb.com
+ - tgates@nuodb.com
before_install:
- - wget -q http://www.nuodb.com/latest/nuodb-1.2.linux.x64.deb --output-document=/var/tmp/nuodb.deb
+ - 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:
- - ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz --verbose debug --archive /var/tmp/nuodb --initialize --force &
- - sleep 2
- - ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz &
- - sleep 2
- - echo "create user cloud password 'user';" | ${NUODB_ROOT}/bin/nuosql test@localhost --user dba --password baz
+ - java -jar ${NUODB_HOME}/jar/nuodbmanager.jar --broker localhost --user domain --password bird --command "start process sm database test host localhost archive /var/tmp/nuodb initialize true waitForRunning true"
+ - java -jar ${NUODB_HOME}/jar/nuodbmanager.jar --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:
- - NUODB_ROOT=/opt/nuodb bundle exec rake spec install
+ - NUODB_ROOT=$NUODB_HOME bundle exec rake spec install
after_script:
- sudo dpkg -r nuodb