Mostly based on https://github.com/snikulov/google-test-examples
Typical C++ project structure: http://hiltmon.com/blog/2013/07/03/a-simple-c-plus-plus-project-structure/
How to check C++11 supported (commented out as didn't work out of the box for me): https://www.guyrutenberg.com/2014/01/05/enabling-c11-c0x-in-cmake/
Extra example googletests: https://github.com/maitesin/blog/tree/master/google_test_2015_12_22
Background reading: http://www.kaizou.org/2014/11/gtest-cmake/ https://crascit.com/2015/07/25/cmake-gtest/ http://derekmolloy.ie/hello-world-introductions-to-cmake/
Fixing my initial Github problems with pushing (https vs ssh): https://rc.fas.harvard.edu/resources/documentation/software/git-and-github-on-odyssey/
Enabling Travis on a new repository:
- go to https://travis-ci.org/profile/rmnorris (or your username)
- sync with github so new repo is visible
- click cross next to repo name to enable travis to work with it
- follow the other instructions on the page...