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

Using vscode unit tests environment on travis build system. #779

Closed
fforjan opened this issue Nov 28, 2015 · 6 comments
Closed

Using vscode unit tests environment on travis build system. #779

fforjan opened this issue Nov 28, 2015 · 6 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Milestone

Comments

@fforjan
Copy link

fforjan commented Nov 28, 2015

I all, I'm currently playing with VSC extensions and create a very simple one in typescript as learning experience about managing nuget packages for project.json - nuget4code, https://github.com/fforjan/nuget4code.

When learning, I'm always trying to do a full slice, including unit testing and build environment.
As I'm using GitHub, I've also link it to the Travis build system.
My npm test action is currently configure compile only, so I can catch build error which could have been missed on my computer (more likely none ;))

I got some unit tests working on my computer, they are really unit tests, I don't trigger any UI actions or other things, but they are doing import * as vscode from "vscode", use some vscode.Uri and thus require a vscode environment setup to run.

Do you have any idea how to configure Travis to be able to run unit tests ?

@fforjan fforjan changed the title Using vscode unit tets environment on travis build system. Using vscode unit tests environment on travis build system. Nov 28, 2015
@alexdima
Copy link
Member

I think I heard @dbaeumer and @bpasero discussing about how a Travis CI should look like for extensions.

@alexdima alexdima added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Nov 30, 2015
@akamud
Copy link
Contributor

akamud commented Dec 1, 2015

👍 same question

@bpasero
Copy link
Member

bpasero commented Dec 1, 2015

Planned for next release and we make sure its documented!

@bpasero bpasero closed this as completed Dec 1, 2015
@egamma egamma mentioned this issue Dec 2, 2015
34 tasks
@bpasero bpasero added this to the Dec 2015 milestone Dec 11, 2015
@fforjan
Copy link
Author

fforjan commented Dec 29, 2015

Already used pre3 last week and it's working fine ;)
(i.e. the documentation was online before the package being finally release, this is why I've used pre3...)

@bpasero
Copy link
Member

bpasero commented Dec 29, 2015

Great :)

@egamma egamma mentioned this issue Jan 6, 2016
59 tasks
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants