From 24c82b9ce03f2087ae4ab0ef9adfdc966868e754 Mon Sep 17 00:00:00 2001 From: Kristian Gregorius Hustad Date: Fri, 24 Nov 2017 20:12:01 +0100 Subject: [PATCH] Add travis setup --- .travis.yml | 22 ++++++++++++++++++++++ doc/src/make.sh | 15 +++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .travis.yml create mode 100644 doc/src/make.sh diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..ca19b8403 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: python + +python: +- "2.7" +- "3.6" + +dist: trusty +#sudo: required +sudo: false + +addons: + apt: + packages: + - libarmadillo-dev + +before_install: + - pip install --user git+https://github.com/doconce/preprocess#egg=preprocess + - pip install --user git+https://github.com/doconce/doconce#egg=doconce + +script: + - doconce --version + - cd doc/src/ && time bash make.sh && cd - diff --git a/doc/src/make.sh b/doc/src/make.sh new file mode 100644 index 000000000..37e1b989e --- /dev/null +++ b/doc/src/make.sh @@ -0,0 +1,15 @@ +cwd=$(pwd) +cd Bayesian && bash make.sh Bayesian +cd ${cwd} +cd DecisionTrees && bash make.sh DecisionTrees +cd ${cwd} +cd How2ReadData && bash make.sh How2ReadData +cd ${cwd} +cd NeuralNet && bash make.sh NeuralNet +cd ${cwd} +cd Regression && bash make.sh Regression +cd ${cwd} +cd Statistics && bash make.sh Statistics +cd ${cwd} +cd Projects/2017/Project && bash make.sh Project +cd ${cwd}