diff --git a/.travis.yml b/.travis.yml index 31ceaa5b7..425011e70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,16 @@ env: before_install: # install build-dependencies as the doc says - sudo sh src/other_builds/OS_notes.linux_ubuntu_12_64 + # install packages needed for testing + - sudo apt-get install xvfb xauth libgl1-mesa-dri mesa-utils tcsh libjpeg-progs install: - cd src - cp other_builds/Makefile.$FLAVOR Makefile - make vastness script: - - echo "that is where we would test, so let's do it for now by running a sample executable" - - export PATH=$PATH:$PWD/$FLAVOR + - export PATH=$PATH:$PWD/$FLAVOR # to gain access to built binaries + - mkdir ../testing; cd ../testing # from here will run tests + - cmake -DAFNI_BUILD_TESTS:BOOL=ON .. + - ctest + # Smoke tests for some additional commands - 3dinfo