rebuild/.travis.yml

27 lines
591 B
YAML
Raw Normal View History

2019-01-06 03:17:00 +08:00
sudo: false
2019-07-19 19:57:42 +08:00
dist: trusty
2019-01-31 17:43:10 +08:00
language: java
jdk:
2019-07-19 20:10:22 +08:00
- oraclejdk8
# - oraclejdk11
2019-07-17 17:05:44 +08:00
script: mvn cobertura:cobertura -DskipTests=false
2019-01-06 03:17:00 +08:00
2019-01-26 16:05:45 +08:00
services:
- mysql
2019-01-31 17:43:10 +08:00
- redis
2019-01-26 16:05:45 +08:00
2019-01-31 17:43:10 +08:00
#branches:
# only:
# - master
2020-07-28 17:50:25 +08:00
git:
submodules: false
2019-01-31 17:43:10 +08:00
before_script:
- mysql -e "CREATE DATABASE rebuild30 COLLATE utf8mb4_general_ci;"
- mysql -e "CREATE USER 'rebuild'@'127.0.0.1' IDENTIFIED BY 'rebuild'; GRANT ALL PRIVILEGES ON rebuild30.* TO 'rebuild'@'127.0.0.1'; FLUSH PRIVILEGES;"
- mysql -D rebuild30 < src/main/resources/scripts/db-init.sql
2019-01-06 03:17:00 +08:00
2019-01-31 17:43:10 +08:00
# codecov
after_success:
- bash <(curl -s https://codecov.io/bash)