Skip to content

Commit 97be7ae

Browse files
authored
Merge pull request #9 from mitchhentges/tests-in-travis
Run tests in travis
2 parents e261a99 + 17d3b3b commit 97be7ae

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ before_install:
1313
script:
1414
- cd ui-sys
1515
- cargo build --verbose --tests --examples
16+
- xvfb-run cargo test
1617
- cd ../iui
1718
- cargo build --verbose --tests --examples
19+
- xvfb-run cargo test
1820
after_success: |
1921
[ $TRAVIS_BRANCH = master ] &&
2022
[ $TRAVIS_PULL_REQUEST = false ] &&

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,4 @@ fn main() {
8787
// Run the application
8888
ui.main();
8989
}
90-
```
91-
92-
## Testing Note
93-
Travis does not connect video devices to their testing environments, so the tests cannot be run. Therefore, the "tests" only check compilation.
94-
95-
[libui]: https://github.com/andlabs/libui
90+
```

0 commit comments

Comments
 (0)