forked from mysql-otp/mysql-otp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·30 lines (30 loc) · 973 Bytes
/
.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
language: erlang
services:
- mysql
before_script:
- sudo service mysql stop
- SSLDIR=/etc/mysql/ make tests-prep
- sudo cp test/ssl/*.pem /etc/mysql/
- sudo chmod -R 660 /etc/mysql/*.pem
- sudo chown -R mysql:mysql /etc/mysql/*.pem
- cat test/ssl/my-ssl.cnf | sudo tee -a /etc/mysql/conf.d/my-ssl.cnf
- sudo service mysql start
- sleep 5
- mysql -uroot -e "CREATE USER otptest@localhost IDENTIFIED BY 'otptest';"
- mysql -uroot -e "GRANT ALL PRIVILEGES ON otptest.* TO otptest@localhost;"
- mysql -uroot -e "CREATE USER otptest2@localhost IDENTIFIED BY 'otptest2';"
- mysql -uroot -e "GRANT ALL PRIVILEGES ON otptest.* TO otptest2@localhost;"
- mysql -uroot -e "CREATE USER otptestssl@localhost IDENTIFIED BY 'otptestssl';"
- mysql -uroot -e "GRANT ALL PRIVILEGES ON otptest.* TO otptestssl@localhost REQUIRE SSL;"
script: 'make tests'
otp_release:
- 22.0
- 21.1
- 21.0
- 20.0
- 19.0
- 18.3
- 17.3
- 17.0
- R16B03-1
- R16B