forked from rhwayfun/spring-boot-learning-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (16 loc) · 817 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: java
sudo: false # faster builds
services:
- mysql # start mysql service
before_install:
- pip install --user codecov
- mysql -e 'CREATE DATABASE springboot;' # create database springboot
- mysql -e 'CREATE DATABASE springboot2;' # create database springboot2
- mysql -e 'CREATE DATABASE ds_master_0;' # create database ds_master_0
- mysql -e 'CREATE DATABASE ds_master_0_slave_0;' # create database ds_master_0_slave_0
- mysql -e 'CREATE DATABASE ds_master_0_slave_1;' # create database ds_master_0_slave_1
- mysql -e 'CREATE DATABASE ds_master_1;' # create database ds_master_1
- mysql -e 'CREATE DATABASE ds_master_1_slave_0;' # create database ds_master_1_slave_0
- mysql -e 'CREATE DATABASE ds_master_1_slave_1;' # create database ds_master_1_slave_1
after_success:
- codecov