Update SQL migration script

This commit is contained in:
samnyan
2020-01-22 00:19:23 +08:00
parent 827eae2a7f
commit 1887a21d88
7 changed files with 145 additions and 3 deletions

25
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,25 @@
variables:
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
cache:
paths:
- .m2/repository
- target/
build:
stage: build
script:
- mvn $MAVEN_CLI_OPTS compile
artifacts:
paths:
- target/
when: on_success
expire_in: 1 days
test:
stage: test
script:
- mvn $MAVEN_CLI_OPTS test