Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 774 Bytes
Copy Edit Web IDE Raw Blame History
清风丶 authored 2019-01-14 15:29 . [修改] 数据库名称
language: java
jdk:
- oraclejdk8
services:
- mysql
addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
- mysql-client
cache:
directories:
- "$HOME/.gradle"
before_install:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('521') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade -u root -p521
- sudo service mysql restart
- chmod +x gradlew
before_script:
- mysql -u root -p521 -e 'CREATE DATABASE crown1;'
- mysql -u root -p521 crown1 < src/test/resources/sql/crown.sql
script:
- ./gradlew clean build
- ./gradlew jacocoTestReport
notifications:
email:
recipients:
- caratacus@qq.com
after_success:
- bash <(curl -s https://codecov.io/bash)

Comment ( 0 )

Sign in for post a comment