forked from nguoianphu/docker-sybase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (24 loc) · 795 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: required
services:
- docker
script:
- echo "Build local image"
- docker build -t sybase .
- docker images
- docker run --name my-sybase -d -p 5000:5000 sybase
- echo "Wait sybase to start up"
- docker ps -a
- docker logs my-sybase
- docker exec -it my-sybase ps -ef
- echo "Checking sybase"
# - docker exec -it my-sybase isql -U sa -P myPass -S MYSYBASE
- docker stop my-sybase
- echo "Testing public image on Docker Hub"
- docker run -d -p 5000:5000 --name nguoianphu-sybase nguoianphu/docker-sybase
- docker ps -a
- docker images
- echo "Checking sybase"
- docker logs nguoianphu-sybase
- docker exec -it nguoianphu-sybase ps -ef
# - docker exec -it nguoianphu-sybase isql -U sa -P myPass -S MYSYBASE
- docker stop nguoianphu-sybase