mirror of https://github.com/halo-dev/halo
test: test travis ci.
parent
2b75762b76
commit
faa9b2820a
|
@ -13,7 +13,7 @@ dist: trusty
|
|||
jobs:
|
||||
include:
|
||||
- stage: test
|
||||
script: ./gradlew check -Dspring.profiles.active=test
|
||||
script: ./gradlew check --args="--spring.profiles.active=test"
|
||||
- stage: build
|
||||
script: ./gradlew clean build -x test
|
||||
- stage: Build Docker Image for Release
|
||||
|
|
|
@ -14,10 +14,10 @@ spring:
|
|||
type: com.zaxxer.hikari.HikariDataSource
|
||||
|
||||
# H2 Database 配置
|
||||
# driver-class-name: org.h2.Driver
|
||||
# url: jdbc:h2:file:~/halo-test/db/halo
|
||||
# username: admin
|
||||
# password: 123456
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:file:~/halo-test/db/halo
|
||||
username: admin
|
||||
password: 123456
|
||||
|
||||
# MySQL 配置
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
@ -50,7 +50,7 @@ management:
|
|||
web:
|
||||
base-path: /api/admin/actuator
|
||||
exposure:
|
||||
include: ['httptrace', 'metrics','env','logfile']
|
||||
include: ['httptrace', 'metrics','env','logfile','health']
|
||||
logging:
|
||||
level:
|
||||
run.halo.app: DEBUG
|
||||
|
|
|
@ -51,7 +51,7 @@ management:
|
|||
web:
|
||||
base-path: /api/admin/actuator
|
||||
exposure:
|
||||
include: ['httptrace', 'metrics','env','logfile']
|
||||
include: ['httptrace', 'metrics','env','logfile','health']
|
||||
logging:
|
||||
level:
|
||||
run.halo.app: INFO
|
||||
|
|
Loading…
Reference in New Issue