Skip to content

rsp/travis-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Travis Hello License GitHub Stars GitHub Forks GitHub Watchers Tweet

Simple Travis examples with different languages.

It show you how you can use the Travis continuous integration system to automaticcaly have your code tested on every change. See Quick start below for instructions on how to use those examples for your own projects.

Examples are currently available for:

  • C++ (default GCC and Clang compilers)
  • Modern C++ (recent versions of GCC and Clang compilers)

Why a separate vesrions for C++? The one with older compiers is faster but the one with newer compilers has support for C++14 and beyond. See travis-hello-modern-cpp for details.

This is work in progress, more examples will be added in the future. To request more languages or other CI systems, please post an issue.

Quick start

From now on, when you commit a file called .travis.yml into your project on GitHub, Travis will automatically start testing your project on every new change.

You can base your .travis.yml file on one of the files from the specific examples linked above, e.g. travis-hello-cpp for C++ projects. As long as your project can be built with make and tested with make test then putting .travis.yml from one of my examples should be enough, but you need to use the right example suitable for your project - like e.g. travis-hello-modern-cpp for modern versions of C++ etc. If you don't have make and make test already working then you can see other files like Makefile and test from the examples for a good place to start.

Issues

For any bug reports or feature requests please post an issue on GitHub.

Author

Rafał Pocztarski
Follow on GitHub Follow on Twitter
Follow on Stack Exchange

License

MIT License (Expat). See LICENSE.md for details.

About

Simple Travis example with different languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors