Permalink
Browse files

ENH: run introduced rudimentary tests of SUMA's do.examples via ctest…

… under xvfb (~40sec)
  • Loading branch information...
1 parent 6da98b1 commit eb103591750dcba8da7e1598ea3eec38655b746d @yarikoptic yarikoptic committed Apr 29, 2016
Showing with 7 additions and 2 deletions.
  1. +7 −2 .travis.yml
View
@@ -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

0 comments on commit eb10359

Please sign in to comment.