Skip to content
Snippets Groups Projects
Commit af39a2c9 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

Implement Travis CI. Closes #8

parent 06f0d9ff
No related branches found
No related tags found
No related merge requests found
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
Makefile 0 → 100644
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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment