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