-
Notifications
You must be signed in to change notification settings - Fork 20
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
Swift support #20
base: master
Are you sure you want to change the base?
Swift support #20
Conversation
fi | ||
|
||
# Delete runbox | ||
sudo rm -rf $RUNBOX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Travis fails with 'No permission to rm runbox'. Hence sudo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strange. how does it work for every other worker ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@championswimmer Here is the error. Perhaps it has something to do with the permissions granted from where we are pulling our docker image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Local tests and travis passing
@@ -0,0 +1,7 @@ | |||
FROM swiftdocker/swift:latest | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Used https://github.com/swiftdocker/docker-swift for the docker image.
|
||
expected="Hello World" | ||
actual="$(cat ${RUNBOX}/run.stdout)" | ||
if [ "$expected" == "$actual" ] ;then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how is it coming out to be "Hello World" when according to your source code it should be "HelloWorld"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@championswimmer fixed this, updated script.swift
@championswimmer any updates here? I guess this does resolve the issue, please have a look :) |
No description provided.