mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-24 14:25:05 +08:00
22 lines
537 B
YAML
22 lines
537 B
YAML
sudo: false
|
|
language: java
|
|
jdk:
|
|
- oraclejdk8
|
|
script: mvn cobertura:cobertura -DskipTests=false
|
|
|
|
services:
|
|
- mysql
|
|
- redis
|
|
|
|
#branches:
|
|
# only:
|
|
# - master
|
|
|
|
before_script:
|
|
- mysql -e "CREATE DATABASE rebuild10 DEFAULT CHARSET utf8 COLLATE utf8_general_ci;"
|
|
- mysql -e "CREATE USER 'rebuild'@'127.0.0.1' IDENTIFIED BY 'rebuild'; GRANT ALL PRIVILEGES ON rebuild10.* TO 'rebuild'@'127.0.0.1'; FLUSH PRIVILEGES;"
|
|
- mysql -D rebuild10 < .setup/mysql-init.sql
|
|
|
|
# codecov
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|