Skip to content

Commit 3aa930d

Browse files
author
Zhang Handi
committed
ci: first version of the pipeline to automate unit and integration tests
1 parent 6334089 commit 3aa930d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: java
2+
jdk: oraclejdk8
3+
4+
# Define the services to use
5+
services:
6+
- docker
7+
8+
before_install:
9+
- sudo service mysql stop
10+
- docker pull takimatraining/devops-training-db
11+
- docker run -d -p 127.0.0.1:3306:3306 takimatraining/devops-training-db
12+
13+
# Run Unit Test and Integration Tests
14+
script:
15+
- mvn verify

0 commit comments

Comments
 (0)