Skip to content

Commit 43a58c3

Browse files
committed
Travis CI automatic test #8
Add .travis.yml file to test programs of the repository.
1 parent 965c7a3 commit 43a58c3

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.travis.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
language: c
2+
dist: xenial
3+
4+
sudo: false
5+
6+
addons:
7+
apt:
8+
packages:
9+
- libblas-dev
10+
- liblapack-dev
11+
- swig
12+
- python-numpy
13+
14+
python:
15+
- 3.6
16+
- 2.7
17+
18+
matrix:
19+
include:
20+
- python: 3.6
21+
env: RSFROOT=$HOME/RSFROOT RSFFIGS=$HOME/RSFROOT/figs
22+
- python: 2.7
23+
env: RSFROOT=$HOME/RSFROOT RSFFIGS=$HOME/RSFROOT/figs
24+
25+
# Install madagascar
26+
install:
27+
- ./configure
28+
- make install
29+
30+
before_script:
31+
- git clone --depth 1 https://github.com/Dirack/vfsa.git $RSFSRC/user/vfsa
32+
- cd $RSFSRC/user/vfsa
33+
- scons
34+
- cd $RSFSRC
35+
- scons install
36+
37+
# Test
38+
script:
39+
- source env.sh
40+
- cd $RSFSRC/user/vfsa/usage_examples
41+
- scons

0 commit comments

Comments
 (0)