Commit af39a2c9 authored by Houtan Bastani's avatar Houtan Bastani

Implement Travis CI. Closes #8

parent 06f0d9ff
language: python
git:
depth: 1
dist: trusty
install:
- export
- sudo add-apt-repository ppa:octave/stable -y
- sudo apt-get update -qq
- sudo apt-get install -qq octave liboctave-dev texlive texlive-latex-recommended texlive-latex-extra
- git clone --depth=1 --recursive --branch=master https://github.com/DynareTeam/dynare.git ~/builds/dynare
script:
- make check-octave
- ./success.sh
OCTAVE=octave-cli
MATLAB=`which matlab`
all: check-octave check-matlab
check-octave:
@cd test ;\
$(OCTAVE) --silent --no-history runtest.m
check-matlab:
@$(MATLAB) -nosplash -nodisplay -r "cd test; runtest; quit"
#!/bin/bash
if [ ! -f test/report.pdf ]; then
exit 1;
fi
addpath('~/builds/dynare/matlab/utilities/general')
addpath('~/builds/dynare/matlab/modules/dates/src')
addpath('~/builds/dynare/matlab/modules/dseries/src')
addpath('../src')
initialize_dates_toolbox;
initialize_dseries_toolbox;
db_a = dseries('db_a.csv');
db_q = dseries('db_q.csv');
dc_a = dseries('dc_a.csv');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment