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 Build Infrastructure #225

Merged
merged 14 commits into from
Dec 1, 2017
Merged

Update Build Infrastructure #225

merged 14 commits into from
Dec 1, 2017

Conversation

guw
Copy link
Contributor

@guw guw commented Nov 29, 2017

What does this PR do?

Update our Travis CI Build Infra to use Ubuntu Trusty and XCode 9.1 and also reference VS Code 1.19 to work around an bug in 1.18.

What issues does this PR fix or reference?

Fixes the Linux build issues and improved the macOS build.

@guw guw self-assigned this Nov 29, 2017
@codecov
Copy link

codecov bot commented Nov 29, 2017

Codecov Report

Merging #225 into develop will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #225      +/-   ##
===========================================
+ Coverage    81.81%   81.85%   +0.04%     
===========================================
  Files          114      114              
  Lines         4619     4619              
  Branches       767      770       +3     
===========================================
+ Hits          3779     3781       +2     
+ Misses         678      676       -2     
  Partials       162      162
Impacted Files Coverage Δ
...edx-vscode-core/src/commands/forceDataSoqlQuery.ts 96% <0%> (+8%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1569c5f...a9fdaf0. Read the comment docs.

@guw guw changed the title [WIP] Update Build Infrastructure Update Build Infrastructure Nov 30, 2017
@guw guw requested a review from vazexqi November 30, 2017 08:45
@guw
Copy link
Contributor Author

guw commented Nov 30, 2017

@vazexqi I wasn't able to get the tests running with the insiders build. It's currently not supported by VS Code. I've opened a feature request to get it added (microsoft/vscode-extension-vscode#88).

I'd still like to merge this PR because it contains a few good tweaks to our builds.

.travis.yml Outdated
@@ -15,7 +15,7 @@ notifications:

matrix:
allow_failures:
- os: osx
- os: linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we specify it for both linux and osx? The way you have done it now makes is so that osx must pass, which we know is a losing battle given travis-ci/travis-ci#7304

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@@ -70,5 +70,5 @@ test_script:

on_finish:
- del C:\projects\devhub.key
- codecov
- codecov --disable=gcov
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this help with long path issues, and why does it only happen now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The codecov tool gcov module was scanning very aggressiv for coverage reports. It also scanned the node_modules folders and caused those errors to appear in the build log. Disabling this made those errors go away and our build pass. I wonder if this was the result of a resent update to the codecov tool - we install it at build time via NPM.

@vazexqi
Copy link
Contributor

vazexqi commented Dec 1, 2017

@guw This looks fine to me. Just a couple of questions. I think we do need to allow osx builds to fail, since they will due to the slow builds.

Copy link
Contributor

@vazexqi vazexqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address my questions.

@guw guw merged commit 4859c72 into develop Dec 1, 2017
@vazexqi vazexqi deleted the gunnar/linux branch December 1, 2017 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants