Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Add test suite - #295

Merged
bors-servo merged 3 commits into
servo:masterfrom
aneeshusa:add-test-suite
Apr 5, 2016
Merged

bors-servo merged 3 commits into
servo:masterfrom
aneeshusa:add-test-suite

Conversation

@aneeshusa

Copy link
Copy Markdown
Contributor

Currently checks for executable shebangs and trailing whitespace.
Adds a dispatch script to run on Travis.


This change is Reviewable

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #294) made this pull request unmergeable. Please resolve the merge conflicts.

@aneeshusa

Copy link
Copy Markdown
Contributor Author

Rebased on top of the latest master, the homu update also fixed a whitespace bug.

@aneeshusa
aneeshusa force-pushed the add-test-suite branch 2 times, most recently from 8cb16cc to 455d32c Compare April 4, 2016 17:46
Start a small test suite in Python 3.
Add a test to check executable shebangs.
@aneeshusa
aneeshusa force-pushed the add-test-suite branch 3 times, most recently from c061164 to 968692a Compare April 4, 2016 18:01
Comment thread .travis.yml Outdated
- env: SALT_NODE_ID=test # Not a Salt node, runs test suite instead
os: linux
sudo: required
dist: trusy

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

um, trusty? :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oops, thanks!

Use a dispatch script to direct Travis to either run a Salt highstate
for most nodes, or the test script for the test node.

This reduces the amount of project-specific configuration in .travis.yml
and moves it into a separate file.
@larsbergstrom

Copy link
Copy Markdown
Contributor

Reviewed 9 of 9 files at r1.
Review status: 7 of 12 files reviewed at latest revision, 1 unresolved discussion.


Comments from Reviewable

@larsbergstrom

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 39bfbae has been approved by larsbergstrom

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 39bfbae with merge ce8769f...

bors-servo pushed a commit that referenced this pull request Apr 5, 2016
Add test suite

Currently checks for executable shebangs and trailing whitespace.
Adds a dispatch script to run on Travis.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/295)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - travis

@bors-servo
bors-servo merged commit 39bfbae into servo:master Apr 5, 2016
@aneeshusa

Copy link
Copy Markdown
Contributor Author

I updated the Salt install instructions and mentioned the test script on the wiki.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants