Skip to content

Commit 08c84a7

Browse files
committed
Mysql settings moved to travis
1 parent 43b80c4 commit 08c84a7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ env:
2525
- OS=debian DIST=stretch PACK=deb
2626
- PACK=none
2727

28+
before_script:
29+
- mysql -e "CREATE USER 'tarantool'@'localhost' IDENTIFIED BY 'tarantool';" -u root
30+
- mysql -e "CREATE DATABASE tarantool;" -u root
31+
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'tarantool'@'localhost' WITH GRANT OPTION;" -u root
32+
- export MYSQL='127.0.0.1:3306:tarantool:tarantool:tarantool'
33+
2834
script:
2935
- git clone https://github.com/tarantool/build.git
3036
- ./build/pack/travis.sh

test.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ sudo apt-get update > /dev/null
88
sudo apt-get -q -y install tarantool tarantool-dev
99
sudo apt-get -q -y install libmysqlclient-dev
1010

11-
mysql -e "CREATE USER 'tarantool'@'localhost' IDENTIFIED BY 'tarantool';" -u root
12-
mysql -e "CREATE DATABASE tarantool;" -u root
13-
mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'tarantool'@'localhost' WITH GRANT OPTION;" -u root
14-
export MYSQL='127.0.0.1:3306:tarantool:tarantool:tarantool'
15-
1611
cmake . -DCMAKE_BUILD_TYPE=RelWithDebugInfo
1712
make
1813
make test

0 commit comments

Comments
 (0)