-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
add travisci example (Ubuntu 14.04 and Mac OS X 10.11) #460
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
language: csharp | ||
|
||
matrix: | ||
include: | ||
- os: linux # Ubuntu 14.04 | ||
dist: trusty | ||
sudo: required | ||
dotnet: 1.0.0-preview2-003121 | ||
- os: osx # OSX 10.11 | ||
osx_image: xcode7.2 | ||
dotnet: 1.0.0-preview2-003121 | ||
|
||
script: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm assuming this is a sample of commands that you can run, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. each line is a shell command, ( you can do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it. Maybe then we should run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the |
||
# dotnet info | ||
- dotnet --info | ||
# Run dotnet new | ||
- mkdir -p "test/test-dotnet-new" && pushd "test/test-dotnet-new" | ||
- dotnet new | ||
- dotnet restore | ||
- dotnet --verbose run a b | ||
- popd |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,17 @@ in the [CLI repo](https://github.com/dotnet/core/blob/master/Documentation/prere | |
The below sections show examples of configurations using the mentioned CI SaaS offerings. | ||
|
||
### TravisCI | ||
**TODO** | ||
|
||
The [travis-ci](https://travis-ci.org/) can be configured to install the .NET Core SDK using the language `csharp` and `dotnet` key | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: missing period on the end of the sentence also wondering if this would read better like this: |
||
|
||
Just use: | ||
|
||
```yaml | ||
dotnet: 1.0.0-preview2-003121 | ||
``` | ||
|
||
Travis can run both `osx` (OSX 10.11) and `linux` ( Ubuntu 14.04 ) job in a build matrix, see [example .travis.yml](https://github.com/dotnet/core-docs/blob/master/.travis.yml) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OSX -> OS X There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For accuracy, the official name of platform has been changed to macOS. :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we've been using macOS when we refer to the platform in a generic way @am11. However, when we're talking about El Capitan, we still use OS X since that's the right branding. |
||
for more info. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. info -> information |
||
|
||
### AppVeyor | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not related to this PR: Line 81 talks about preview1. shouldn't that be preview 2? That line is also missing the period. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mairaw good catch, fixed |
||
|
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.
@enricosada does Travis have Xenial yet?
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.
nope, i dont see that in documentation, just Trusty (14) and Precise (12), and no news in latest changelog https://docs.travis-ci.com/user/build-environment-updates/2016-08-24/
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.
Ah, ok then. 😃