Here is the portion of my .travis.yml that handles the dependency installation for my wxWidgets/CxxTest project:
install:
- echo | sudo apt-add-repository ppa:dhart/ppa
- sudo apt-get update -qq
- sudo apt-get install -qq libwxgtk2.8 cxxtest
env: CXXTEST=/usr/include
Everything installs fine, and the project builds successfully, but when it comes time to call cxxtestgen, it goes kaput.
cxxtestgen: Command not found
How do I install CxxTest onto Travis-CI while making the cxxtestgen command accessible?
Here is my github project: https://github.com/gbchaosmaster/nds-toolkit
cxxtestis not in trusted archive in ubuntu 12.04 (precise), which is used in travis-ci now (2012.11), it can't be installed there directly using commandapt-get installSee https://launchpad.net/ubuntu/+source/cxxtest
Using either Ubuntu PPA or installation of
cxxtestitself (like build from source)Beside the answer, below is the way to debug in general