before_script_db2.sh 352 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/bash -e
# Sets up environment for SOCI backend DB2 at travis-ci.org
#
# Copyright (c) 2013 Brian R. Toonen <toonen@alcf.anl.gov>
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
#
7
source ${TRAVIS_BUILD_DIR}/scripts/travis/common.sh
8 9 10

sudo -u db2inst1 -i db2 "CREATE DATABASE SOCITEST"
sudo -u db2inst1 -i db2 "ACTIVATE DATABASE SOCITEST"