-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
more install.sh improvements #258
more install.sh improvements #258
Conversation
Thanks for your pull request, @MartinNowak! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
06d7b2f
to
4ddb58b
Compare
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.
I am looking forward to see the coverage report in action!
All LGTM except the comment about the fish test.
travis.sh
Outdated
deactivate | ||
|
||
fish <<-EOF | ||
source ~/dlang/dmd-2.076.0/activate.fish |
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.
Shouldn't this be outside of the loop or $compiler?
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.
pardon me, leftover from local testing
.travis.yml
Outdated
include: | ||
- os: linux | ||
script: | ||
- kcov $PWD/coverage ./travis.sh |
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 doesn't seem to like this.
12da235
to
0222135
Compare
0222135
to
53ed3d1
Compare
Left out the fish shell test for now, the version on trusty (fish 2.0.0) cannot erase the fish_prompt function before restoring it. |
bebdb0a
to
c6ca5c8
Compare
- test on osx as well
- need to reset script after in-place update or we're testing the live version
- unfortunately bash's local variables also hide globals in all nested function calls (which is surprising and a easily missed) - this script already uses global `path` and `local path`, and that issue was found when trying to move the `verify()` into `download()` - rename path -> ROOT, and the other globals to upcase names
- move verification from download_and_unpack to download
- also test $DC and $DMD env vars
- not supported for OSX on Travis-CI
c6ca5c8
to
43fcfd1
Compare
- ldc-developers/ldc#2351 - fixed by using sed to read full stream
29ba0a0
to
a4180cc
Compare
No description provided.