-
Notifications
You must be signed in to change notification settings - Fork 181
/
Copy path.travis.yml
53 lines (43 loc) · 1.69 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
# (c) Copyright 2022 Micro Focus, L.P.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License v2.0 which accompany this distribution.
#
# The Apache License is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
########################################################################################################################
language: java
sudo: required
services:
- docker
env:
global:
- JAVA_OPTS="-XX:MaxPermSize=512m"
matrix:
- SUITE=containers
- SUITE=images
- SUITE=docker-misc,docker_examples
- SUITE=git,remote-copy
- SUITE=http,rest,zip
before_install:
- docker run -d -e SWAGGER_HOST=http://localhost -e SWAGGER_BASE_PATH=/v2 -p 3000:8080 swaggerapi/petstore;
script:
- chmod +x ci-env/travis/run_containers.sh && ci-env/travis/run_containers.sh
- docker ps -a
- docker info
- docker version
- df -kh
- wget https://github.com/CloudSlang/cloud-slang/releases/download/cloudslang-1.0.243/cslang-builder.zip
- unzip -q cslang-builder.zip
- chmod +x cslang-builder/bin/cslang-builder
- ./cslang-builder/bin/cslang-builder -ts ${SUITE},\!default -cov -des -cs
jdk:
- openjdk8
# cat prints only part of the file for some reason so we print ourselves
after_failure: while read line; do printf "%s\n" "$line"; done < ./cslang-builder/logs/builder.log