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

Enable Travis-CI #96

Merged
merged 4 commits into from
Jun 26, 2017
Merged

Enable Travis-CI #96

merged 4 commits into from
Jun 26, 2017

Conversation

kevmoo
Copy link
Member

@kevmoo kevmoo commented Jun 23, 2017

No description provided.

@kevmoo
Copy link
Member Author

kevmoo commented Jun 23, 2017

@nex3 – made this green. At least a starting point for @donny-dont

.travis.yml Outdated

matrix:
allow_failures:
- dart_task: dartanalyzer
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because there are still files that break analysis – specifically the multi_file things in the lib directory that aren't cleaned up yet

Choose a reason for hiding this comment

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

Do we want to just allow failures at this point and then when everything is green then protect the branch?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think it makes sense to allow failures that are being actively worked on. I'd just let the bots be red until they go green.

.travis.yml Outdated
dart_task:
- test
- dartfmt
- dartanalyzer
Copy link
Member

Choose a reason for hiding this comment

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

Only run these once each. See the example file.

Copy link
Member Author

Choose a reason for hiding this comment

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

ack

@donny-dont
Copy link

@kevmoo shoukd we cherry pick some of the 0.11.x commits before doing the dartfmt?

@kevmoo
Copy link
Member Author

kevmoo commented Jun 23, 2017

@kevmoo should we cherry pick some of the 0.11.x commits before doing the dartfmt?

Uh...not sure what needs to be pulled in.

I can just enable tests for now – okay w/ you @nex3 ?

@nex3
Copy link
Member

nex3 commented Jun 24, 2017

I think Don's right... we shouldn't reformat before we merge stuff in from 0.11.x, or the conflicts will get out of control. Kevin, can you remove the formatting stuff for now?

@kevmoo kevmoo changed the title Enable Travis-CI – do a bit of cleanup Enable Travis-CI Jun 25, 2017
@kevmoo
Copy link
Member Author

kevmoo commented Jun 25, 2017

PTAL

@donny-dont
Copy link

@kevmoo can we add whatever browser testing the dart team requires? The tests should run in both.

@nex3
Copy link
Member

nex3 commented Jun 26, 2017

Yeah, we should run tests on (at least) the VM and Firefox.

@kevmoo
Copy link
Member Author

kevmoo commented Jun 26, 2017 via email

.travis.yml Outdated

dart_task:
- test: --platform vm
- test: --platform firefox
Copy link
Member

Choose a reason for hiding this comment

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

There aren't very many tests in this package, so it'll probably be faster if we run the VM and Firefox in the same task.

.travis.yml Outdated
- test: --platform vm
- test: --platform firefox
- dartfmt
- dartanalyzer
Copy link
Member

Choose a reason for hiding this comment

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

Since these are defined in the matrix section, they shouldn't be included here.

@kevmoo
Copy link
Member Author

kevmoo commented Jun 26, 2017

PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants