Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CloudSlang version to latest (1.0.22) #1050

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 42 additions & 43 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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