forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 1.17 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
33
34
35
36
37
38
39
40
41
language: cpp
compiler:
- clang
- gcc
addons:
postgresql: "9.1"
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
- sudo apt-get -q install libmysqlclient-dev libpq-dev postgresql-server-dev-all
script:
- mkdir ./build && cd ./build && cmake .. -DCMAKE_BUILD_TYPE=RelWithDebugInfo
- make -j8
- make test-force || echo
notifications:
irc:
channels:
- irc.freenode.net#tarantool
on_success: change
on_failure: always
email: false
git:
depth: 500