Permalink
Browse files
ENH: run introduced rudimentary tests of SUMA's do.examples via ctest…
- Loading branch information...
Showing
with
7 additions
and
2 deletions.
-
+7
−2
.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
|
0 comments on commit
eb10359