Newer
Older
language: cpp
compiler:
- clang
- gcc
before_install:
- git submodule update --init --recursive
before_script:
- psql -c "CREATE USER tarantool WITH PASSWORD 'tarantool';" -U postgres
- psql -c "CREATE DATABASE tarantool;" -U postgres
- psql -c "GRANT ALL PRIVILEGES ON DATABASE tarantool TO tarantool;" -U postgres
- mysql -e "CREATE USER 'tarantool'@'localhost' IDENTIFIED BY 'tarantool';" -u root
- mysql -e "CREATE DATABASE tarantool;" -u root
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'tarantool'@'localhost' WITH GRANT OPTION;" -u root
- export PG='127.0.0.1:5432:tarantool:tarantool:tarantool'
- export MYSQL='127.0.0.1:3306:tarantool:tarantool:tarantool'
install:
- sudo apt-get update > /dev/null
- sudo apt-get -q install binutils-dev python-daemon python-yaml python-gevent
- sudo apt-get -q install libmysqlclient-dev libpq-dev postgresql-server-dev-all
- mkdir ./build && cd ./build && cmake .. -DCMAKE_BUILD_TYPE=RelWithDebugInfo
- make test-force || echo
notifications:
irc:
channels:
- irc.freenode.net#tarantool
on_success: change
on_failure: always
email: false