forked from CloudSlang/cs-content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 loc) · 1.13 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
# (c) Copyright 2014 Hewlett-Packard Development Company, 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
#
####################################################
language: java
sudo: required
services:
- docker
env:
global:
- JAVA_OPTS="-XX:MaxPermSize=512m"
matrix:
- SUITE=containers
- SUITE=images
- SUITE=docker-misc
- SUITE=git,remote-copy
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-0.9.6/cslang-builder.zip
- unzip -q cslang-builder.zip -d cslang-builder
- chmod +x cslang-builder/bin/cslang-builder
- ./cslang-builder/bin/cslang-builder -ts ${SUITE},\!default -cov
# 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 < builder.log