diff --git a/.travis.yml b/.travis.yml index c7de98093d..bf6ba7e586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,43 +1,42 @@ -# (c) Copyright 2014-2017 EntIT Software LLC, a Micro Focus 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 -# -# 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" - -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.16/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 - -# 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 - +# (c) Copyright 2014-2017 EntIT Software LLC, a Micro Focus 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 +# +# 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" + +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.16/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 + +# 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 \ No newline at end of file