-
-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add osx builds on Travis CI * check headers in CMake and only include either of termios.h or termio.h CMake builds failed on basically 93fd357 [1] on OS X since termio.h isn't present. [1]: https://travis-ci.org/livibetter/cmatrix/builds/337114240 cmatrix.c do not need to include both termios.h and termio.h, the latter is a wrapper on Linux, on POSIX, the former would do. CMake should check the header files, not defining blindly, although it's not needed as now cmatrix.c only includes one of the headers, however, it's a good practice, but it should also halt the build process if neither is found.
- Loading branch information
1 parent
93fd357
commit d4d9881
Showing
3 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
language: c | ||
|
||
os: linux | ||
os: | ||
- linux | ||
- osx | ||
|
||
sudo: required | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters