-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
39 lines (35 loc) · 883 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
os: linux
language: bash
services:
- docker
stages:
- hello
- restful-34
- restful-32
jobs:
include:
- stage: hello
name: "Hello World"
script:
- docker build -t hello hello/
- docker run hello
- docker images
- stage: restful-34
skip_cleanup: true
name: "RESTful on Harbour 3.4"
script:
- docker build -t restful restful-34/
- docker run -d --rm -p 8002:8002 restful
- docker ps
- curl http://localhost:8002/v1/statusType -v
- docker images
- stage: restful-32
name: "RESTful on Harbour 3.2"
script:
- docker build -t restful restful-32/
- docker run -d --rm -p 8002:8002 restful
- docker ps
- curl http://localhost:8002/v1/statusType -v
- docker images
allow_failures:
- stage: restful-32