Skip to content

Commit

Permalink
Travis CI automatic test #8
Browse files Browse the repository at this point in the history
Add .travis.yml file to test programs of the repository.
  • Loading branch information
Dirack committed Apr 8, 2020
1 parent 965c7a3 commit 43a58c3
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 43a58c3

Please sign in to comment.