diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..79e5b74 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,41 @@ +language: c +dist: xenial + +sudo: false + +addons: + apt: + packages: + - libblas-dev + - liblapack-dev + - swig + - python-numpy + +python: + - 3.6 + - 2.7 + +matrix: + include: + - python: 3.6 + env: RSFROOT=$HOME/RSFROOT RSFFIGS=$HOME/RSFROOT/figs + - python: 2.7 + env: RSFROOT=$HOME/RSFROOT RSFFIGS=$HOME/RSFROOT/figs + +# Install madagascar +install: + - ./configure + - make install + +before_script: + - git clone --depth 1 https://github.com/Dirack/vfsa.git $RSFSRC/user/vfsa + - cd $RSFSRC/user/vfsa + - scons + - cd $RSFSRC + - scons install + +# Test +script: + - source env.sh + - cd $RSFSRC/user/vfsa/usage_examples + - scons